[Ivan Diaz] - Fix login

This commit is contained in:
Ivan Diaz 2016-04-04 20:02:27 -03:00
parent 8416c87419
commit 57e8a9578a
1 changed files with 1 additions and 1 deletions

View File

@ -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;