readConfig() is not naming convention, renamed to getConfigEntry()
[admin.git] / application / admin / main / commands / web / class_WebAdminUserLoginCommand.php
index 60e1d1b30acae4cfc555c4e0af04efd3b8efe818..52103d8148f584facf84d0eb2f703b69bebeb43f 100644 (file)
@@ -102,7 +102,7 @@ class WebAdminUserLoginCommand extends BaseCommand implements Commandable {
         */
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Which login type do we have?
-               switch ($this->getConfigInstance()->readConfig('login_type')) {
+               switch ($this->getConfigInstance()->getConfigEntry('login_type')) {
                        case "username": // Login via username
                                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('username_verifier_filter'));
                                break;