diff options
author | Thomas Lange <code@nerdmind.de> | 2021-09-27 20:58:46 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-09-27 20:59:46 +0200 |
commit | 7308c7278969291cb9708582d8f5644b1bd8db67 (patch) | |
tree | 6e7833397345f290755fab3af63127bd9c986880 /admin/auth.php | |
parent | 8c9aff90b6e0a935188b20060dbdcbe9f7aeb28f (diff) | |
download | blog-7308c7278969291cb9708582d8f5644b1bd8db67.tar.gz blog-7308c7278969291cb9708582d8f5644b1bd8db67.tar.xz blog-7308c7278969291cb9708582d8f5644b1bd8db67.zip |
Fix incorrect parameter list for logout action
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')); } |