]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/actions/post_registration/class_LoginAfterRegistrationAction.php
A lot rewrites and fixes for weak redirect methods
[shipsimu.git] / inc / classes / main / actions / post_registration / class_LoginAfterRegistrationAction.php
index 068090ed36a7bb800e6660a8c4c40bd34639c3bd..15fd499af9c85d75ec7bc9931f9dbcb35c535212 100644 (file)
@@ -63,7 +63,11 @@ class LoginAfterRegistrationAction extends BaseAction implements PerformableActi
                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());