[FIX] Log SQL errors on invalid checkUserPassword
Fixes #1366 once merged.
This commit is contained in:
parent
d9fd057a7f
commit
2417ee7c4f
@ -390,7 +390,7 @@ class User extends Base {
|
||||
$this->user = array('username' => $row_username, 'id' => $row_id, 'is_admin' => $row_admin);
|
||||
return strtolower($username) === strtolower($row_username);
|
||||
}
|
||||
return false;
|
||||
return $this->sqlError();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user