From 7308c7278969291cb9708582d8f5644b1bd8db67 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Mon, 27 Sep 2021 20:58:46 +0200 Subject: Fix incorrect parameter list for logout action --- admin/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/auth.php') 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')); } -- cgit v1.2.3