1
1
Fork 0

Merge pull request #8078 from MrPetovan/bug/fatal-errors

Add cookie clear failed validation in App\Authentication
This commit is contained in:
Philipp 2020-01-09 07:37:20 +01:00 committed by GitHub
commit ee58a55895
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
}