diff --git a/presentation/login.php b/presentation/login.php index 4ac0e60..f7ffafb 100644 --- a/presentation/login.php +++ b/presentation/login.php @@ -148,5 +148,8 @@ if ($loginAction == "loginForm") { $url .= "&$queryString"; } redirect($url); +} else { + // redirect to root + redirect($default->rootUrl); } ?> \ No newline at end of file