]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/commands/web/class_WebShipsimuRegisterCommand.php
Registerable instances now possible, some fixes in filters
[shipsimu.git] / application / ship-simu / main / commands / web / class_WebShipsimuRegisterCommand.php
index a419393fb379cc4b97305fd579662c0bb39b63c7..29a6da4ae9a9f84f1ca8dee04c1d27f8e575d771 100644 (file)
@@ -59,8 +59,8 @@ class WebShipsimuRegisterCommand extends BaseCommand implements Commandable {
                $controllerInstance = $resolverInstance->getControllerInstance();
 
                // @TODO Add some more pre/post filters to the controller
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('username_validator'));
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('email_validator'));
+               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('username_validator'));
 
                // Return the prepared instance
                return $commandInstance;