if ($loginInstance->ifLoginWasSuccessfull()) {
// Try to redirect here
try {
+ // Redirect...
$responseInstance->redirectToConfiguredUrl('app_login_url');
+
+ // Stop here
+ exit();
} catch (FrameworkException $e) {
// Something went wrong here!
$responseInstance->addFatalMessage($e->getMessage());