diff --git a/Core/Frameworks/BaikalAdmin/WWWRoot/index.php b/Core/Frameworks/BaikalAdmin/WWWRoot/index.php index 8f1b394..b296d6c 100644 --- a/Core/Frameworks/BaikalAdmin/WWWRoot/index.php +++ b/Core/Frameworks/BaikalAdmin/WWWRoot/index.php @@ -63,6 +63,7 @@ if (! \BaikalAdmin\Core\Auth::isAuthenticated()) { if (\BaikalAdmin\Core\Auth::authenticate()) { // Redirect to itself header('Location: ' . $_SERVER['REQUEST_URI']); + exit(); } else { // Draw login page