Add cookie clear failed validation in App\Authentication

2022.09-rc
Hypolite Petovan 2020-01-08 19:51:54 -05:00
rodzic 592762be27
commit e38939ee4b
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

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