From: Hypolite Petovan Date: Thu, 9 Jan 2020 00:51:54 +0000 (-0500) Subject: Add cookie clear failed validation in App\Authentication X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e38939ee4b9b9d60a8779b6ff74ddeadb34f397b;p=friendica.git Add cookie clear failed validation in App\Authentication --- 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(); }