]> git.mxchange.org Git - friendica.git/blobdiff - src/App/Authentication.php
Update wrong references to ISession::delete
[friendica.git] / src / App / Authentication.php
index cb07d7afc2734a371ccdf2f1416a7f0f3d1f3562..9fc4393e248d248e39ca2c1e2908fe3c0728c5b8 100644 (file)
@@ -102,7 +102,7 @@ class Authentication
                                        $user['password'] ?? '',
                                        $user['prvkey'] ?? '')) {
                                        $this->logger->notice("Hash doesn't fit.", ['user' => $data->uid]);
-                                       $this->session->delete();
+                                       $this->session->clear();
                                        $this->baseUrl->redirect();
                                }
 
@@ -137,7 +137,7 @@ class Authentication
                                                        'addr'        => $this->session->get('addr'),
                                                        'remote_addr' => $_SERVER['REMOTE_ADDR']]
                                        );
-                                       $this->session->delete();
+                                       $this->session->clear();
                                        $this->baseUrl->redirect();
                                }
 
@@ -153,7 +153,7 @@ class Authentication
                                        ]
                                );
                                if (!$this->dba->isResult($user)) {
-                                       $this->session->delete();
+                                       $this->session->clear();
                                        $this->baseUrl->redirect();
                                }