Skip to content

Commit

Permalink
Check token before logging the backend user out
Browse files Browse the repository at this point in the history
  • Loading branch information
carakas committed Oct 14, 2021
1 parent 7a30e1d commit 187b2de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Backend/Modules/Authentication/Actions/Logout.php
Expand Up @@ -14,6 +14,7 @@ class Logout extends BackendBaseAction
public function execute(): void
{
parent::execute();
$this->checkToken();
BackendAuthentication::logout();

// redirect to login-screen
Expand Down

0 comments on commit 187b2de

Please sign in to comment.