]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php
No controller instances are now passed to filters
[shipsimu.git] / application / ship-simu / main / commands / web / class_WebShipsimuUserLoginCommand.php
index 51e3bab5ecc1cf8b8812795ac8409b65b4f9c608..e554d9ac6fb46d2bd18f2c571d7da9fc60507e8e 100644 (file)
@@ -77,7 +77,11 @@ class WebShipsimuUserLoginCommand extends BaseCommand implements Commandable {
                if ($loginInstance->ifLoginWasSuccessfull()) {
                        // Try to redirect here
                        try {
+                               // Redirect...
                                $responseInstance->redirectToConfiguredUrl('app_login_url');
+
+                               // Exit here
+                               exit();
                        } catch (FrameworkException $e) {
                                // Something went wrong here!
                                $responseInstance->addFatalMessage($e->getMessage());