From afef57767177a469256b1f3fdb7eba171eb6962f Mon Sep 17 00:00:00 2001 From: Evert Pot Date: Sun, 13 Mar 2016 17:23:52 -0400 Subject: [PATCH] Thanks @staabm --- Core/Frameworks/BaikalAdmin/WWWRoot/index.php | 1 + 1 file changed, 1 insertion(+) 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