// Set resolver instance
$controllerInstance->setResolverInstance($resolverInstance);
- // We need the controller instance in the resolver class so set it here
+ // We need the controller instance in resolver class so set it here
$resolverInstance->setControllerInstance($controllerInstance);
// Return the prepared instance
} catch (UserAuthorizationException $e) {
// Redirect to main page
$responseInstance->redirectToConfiguredUrl('login_failed_url');
+
+ // Exit here
+ exit();
}
// Is the request still valid? Post filters shall only be executed of