From 187b2deda5df4bf9cb7efcc05adf7662339c2399 Mon Sep 17 00:00:00 2001 From: Jelmer Prins Date: Thu, 14 Oct 2021 14:05:53 +0200 Subject: [PATCH] Check token before logging the backend user out --- src/Backend/Modules/Authentication/Actions/Logout.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Backend/Modules/Authentication/Actions/Logout.php b/src/Backend/Modules/Authentication/Actions/Logout.php index ba3d26769d..cd7a0a12e6 100644 --- a/src/Backend/Modules/Authentication/Actions/Logout.php +++ b/src/Backend/Modules/Authentication/Actions/Logout.php @@ -14,6 +14,7 @@ class Logout extends BackendBaseAction public function execute(): void { parent::execute(); + $this->checkToken(); BackendAuthentication::logout(); // redirect to login-screen