mirror of
https://github.com/friendica/friendica
synced 2024-11-10 22:22:53 +00:00
Update wrong references to ISession::delete
This commit is contained in:
parent
efadab66c5
commit
ce50faf780
1 changed files with 3 additions and 3 deletions
|
@ -102,7 +102,7 @@ class Authentication
|
||||||
$user['password'] ?? '',
|
$user['password'] ?? '',
|
||||||
$user['prvkey'] ?? '')) {
|
$user['prvkey'] ?? '')) {
|
||||||
$this->logger->notice("Hash doesn't fit.", ['user' => $data->uid]);
|
$this->logger->notice("Hash doesn't fit.", ['user' => $data->uid]);
|
||||||
$this->session->delete();
|
$this->session->clear();
|
||||||
$this->baseUrl->redirect();
|
$this->baseUrl->redirect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -137,7 +137,7 @@ class Authentication
|
||||||
'addr' => $this->session->get('addr'),
|
'addr' => $this->session->get('addr'),
|
||||||
'remote_addr' => $_SERVER['REMOTE_ADDR']]
|
'remote_addr' => $_SERVER['REMOTE_ADDR']]
|
||||||
);
|
);
|
||||||
$this->session->delete();
|
$this->session->clear();
|
||||||
$this->baseUrl->redirect();
|
$this->baseUrl->redirect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -153,7 +153,7 @@ class Authentication
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
if (!$this->dba->isResult($user)) {
|
if (!$this->dba->isResult($user)) {
|
||||||
$this->session->delete();
|
$this->session->clear();
|
||||||
$this->baseUrl->redirect();
|
$this->baseUrl->redirect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue