]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/controller/web/class_WebLoginController.php
A performed action now always requires an action class
[shipsimu.git] / inc / classes / main / controller / web / class_WebLoginController.php
index f4ce05334afb2020b4fe2dfc74de7cffa7f3b83b..83964d2508b7902a170cf4aed740cdee2563ad18 100644 (file)
@@ -47,6 +47,12 @@ class WebLoginController extends BaseController implements Controller {
                // Set the command resolver
                $controllerInstance->setResolverInstance($resolverInstance);
 
+               // Add user auth filter (we don't need an update of the user here because it will be redirected)
+               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_auth_filter'));
+
+               // Check for user status by default
+               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
+
                // Return the prepared instance
                return $controllerInstance;
        }