X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=application%2Fship-simu%2Fmain%2Fcommands%2Fweb%2Fclass_WebShipsimuUserLoginCommand.php;h=e554d9ac6fb46d2bd18f2c571d7da9fc60507e8e;hp=51e3bab5ecc1cf8b8812795ac8409b65b4f9c608;hb=f705ac104f6be9c118c7a469bd154e2cc9eb167b;hpb=a771e8625d659bffda3dc7dd929b5fcc877e9328 diff --git a/application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php b/application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php index 51e3bab..e554d9a 100644 --- a/application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php +++ b/application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php @@ -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());