]> git.mxchange.org Git - friendica.git/commitdiff
Add cookie clear failed validation in App\Authentication
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 9 Jan 2020 00:51:54 +0000 (19:51 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Thu, 9 Jan 2020 00:52:44 +0000 (19:52 -0500)
src/App/Authentication.php

index 9fc4393e248d248e39ca2c1e2908fe3c0728c5b8..39c684ffd37143061e8c81c4fca8aeb299a5fd62 100644 (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();
                                }