Merge pull request #8078 from MrPetovan/bug/fatal-errors
Add cookie clear failed validation in App\Authentication
This commit is contained in:
commit
ee58a55895
|
@ -103,6 +103,7 @@ class Authentication
|
|||
$user['prvkey'] ?? '')) {
|
||||
$this->logger->notice("Hash doesn't fit.", ['user' => $data->uid]);
|
||||
$this->session->clear();
|
||||
$this->cookie->clear();
|
||||
$this->baseUrl->redirect();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user