]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php
More wrong calls fixed
[shipsimu.git] / application / ship-simu / main / commands / web / class_WebShipsimuUserLoginCommand.php
index 3721c08e73321ee8904cd6edd7433b77c554ffde..2eff7322c6eee3c463d1a38b5b66b40e9cdc1970 100644 (file)
@@ -102,7 +102,7 @@ class WebShipsimuUserLoginCommand extends BaseCommand implements Commandable {
         */
        function addExtraFilters (Controller $controllerInstance) {
                // Which login type do we have?
-               switch ($commandInstance->getConfigInstance()->readConfig('login_type')) {
+               switch ($this->getConfigInstance()->readConfig('login_type')) {
                        case "username": // Login via username
                                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('username_verifier_class'));
                                break;