From e38939ee4b9b9d60a8779b6ff74ddeadb34f397b Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 8 Jan 2020 19:51:54 -0500 Subject: [PATCH] Add cookie clear failed validation in App\Authentication --- src/App/Authentication.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/App/Authentication.php b/src/App/Authentication.php index 9fc4393e24..39c684ffd3 100644 --- a/src/App/Authentication.php +++ b/src/App/Authentication.php @@ -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(); } -- 2.39.5