This commit is contained in:
2017-12-22 09:08:16 +01:00
parent 109f329e93
commit c8259b0dcf
10 changed files with 135 additions and 6 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ class Login extends MY_Controller {
$username = $this->clean_input( 'username' );
$password = $this->clean_input( 'password' );
$user = $this->User->getUserByUsername( $username );
$user = $this->User_model->getUserByUsername( $username );
if ( ! $user ) return $this->json( FALSE );