Actions (so called sub-commands) may now have own pre/post filter, profile update...
[shipsimu.git] / inc / classes / main / controller / login / class_WebLoginAreaController.php
index 4bc6f29ec1ce17b4cbd7a019859b3b4a68c5f4c2..e14a0eee061cc5a2ce25ab9d36f4f961d1a56239 100644 (file)
@@ -78,10 +78,10 @@ class WebLoginAreaController extends BaseController implements Controller {
         */
        public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) {
                // Get the command instance from the resolver by sending a request instance to the resolver
-               $commandInstance = $this->getResolverInstance()->resolvCommandByRequest($requestInstance);
+               $commandInstance = $this->getResolverInstance()->resolveCommandByRequest($requestInstance);
 
                // Add more filters by the command
-               $commandInstance->addExtraFilters($this);
+               $commandInstance->addExtraFilters($this, $requestInstance);
 
                // Try to run the pre filters, if auth exceptions come through redirect here
                try {