diff options
Diffstat (limited to 'admin/auth.php')
-rw-r--r-- | admin/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/auth.php b/admin/auth.php index 8d7bf9a..68b07a4 100644 --- a/admin/auth.php +++ b/admin/auth.php @@ -16,7 +16,7 @@ if(Application::isAuthenticated()) { #=============================================================================== # IF: Logout action #=============================================================================== - if(HTTP::issetGET(['token' => Application::getSecurityToken(), ['action' => 'logout']])) { + if(HTTP::issetGET(['token' => Application::getSecurityToken()], ['action' => 'logout'])) { session_destroy(); HTTP::redirect(Application::getAdminURL('auth.php')); } |