From ce50faf7805aedf00421318f9f0e28dd859822e9 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 29 Dec 2019 21:52:56 -0500 Subject: [PATCH] Update wrong references to ISession::delete --- src/App/Authentication.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App/Authentication.php b/src/App/Authentication.php index cb07d7afc2..9fc4393e24 100644 --- a/src/App/Authentication.php +++ b/src/App/Authentication.php @@ -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(); }