]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/commands/web/class_WebShipsimuRegisterCommand.php
Registry introduces, comments fixed ;)
[shipsimu.git] / application / ship-simu / main / commands / web / class_WebShipsimuRegisterCommand.php
index 36801594f0618d021033675d398f84da13c43c2f..a419393fb379cc4b97305fd579662c0bb39b63c7 100644 (file)
@@ -23,7 +23,7 @@
  */
 class WebShipsimuRegisterCommand extends BaseCommand implements Commandable {
        /**
-        * Private constructor
+        * Protected constructor
         *
         * @return      void
         */
@@ -60,6 +60,7 @@ class WebShipsimuRegisterCommand extends BaseCommand implements Commandable {
 
                // @TODO Add some more pre/post filters to the controller
                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('username_validator'));
+               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('email_validator'));
 
                // Return the prepared instance
                return $commandInstance;