diff --git a/html/user/login_action.php b/html/user/login_action.php index ef0d330039..eaed88dcea 100644 --- a/html/user/login_action.php +++ b/html/user/login_action.php @@ -38,6 +38,7 @@ } $_SESSION["authenticator"] = $user->authenticator; $next_url = $HTTP_POST_VARS["next_url"]; + if (strlen($next_url) == 0) $next_url = "home.php"; Header("Location: $next_url"); } ?>