Skip to content

Commit

Permalink
Merge pull request #3471 from forkcms/check-token-on-logout
Browse files Browse the repository at this point in the history
Check token before logging the backend user out
  • Loading branch information
carakas committed Oct 14, 2021
2 parents e895e73 + 187b2de commit ead48a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Backend/Modules/Authentication/Actions/Logout.php
Original file line number Diff line number Diff line change
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 ead48a8

Please sign in to comment.