parent
4870dc04b2
commit
9eeaabc6fe
364 changed files with 51722 additions and 987 deletions
|
|
@ -40,7 +40,7 @@ class SessionController extends \PHPCI\Controller
|
|||
|
||||
if ($this->request->getMethod() == 'POST') {
|
||||
$user = $this->userStore->getByEmail($this->getParam('email'));
|
||||
|
||||
|
||||
if ($user && password_verify($this->getParam('password', ''), $user->getHash())) {
|
||||
$_SESSION['phpci_user_id'] = $user->getId();
|
||||
header('Location: ' . $this->getLoginRedirect());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue