Merge pull request #1368 from TheSerapher/issue-1366

[FIX] Log SQL errors on invalid checkUserPassword
This commit is contained in:
Sebastian Grewe 2014-01-11 11:14:28 -08:00
commit 1eef5252db

View File

@ -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();
}
/**