spacing
This commit is contained in:
parent
4385076e66
commit
7901950c48
|
@ -58,11 +58,9 @@ function migrateHash($user, $pass) {
|
|||
|
||||
// core function used to load a User record by username and password
|
||||
function validateUser($username='', $password='') {
|
||||
|
||||
$sql = 'SELECT * FROM Users WHERE Enabled=1 AND Username=?';
|
||||
// local user, shouldn't affect the global user
|
||||
$user = dbFetchOne($sql, NULL, array($username));
|
||||
|
||||
if (!$user) {
|
||||
return array(false, "Could not retrieve user $username details");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue