[Ivan Diaz] - Fix login
This commit is contained in:
parent
8416c87419
commit
57e8a9578a
|
@ -49,7 +49,7 @@ class LoginController extends Controller {
|
||||||
$email = Controller::request('email');
|
$email = Controller::request('email');
|
||||||
$password = Controller::request('password');
|
$password = Controller::request('password');
|
||||||
|
|
||||||
$this->userInstance = User::getUser($email, $password);
|
$this->userInstance = User::authenticate($email, $password);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->userInstance;
|
return $this->userInstance;
|
||||||
|
|
Loading…
Reference in New Issue