Fix
This commit is contained in:
parent
dc50d5d4d6
commit
7af1eda141
@ -69,7 +69,6 @@ class UserManager
|
||||
try {
|
||||
if ($user = Db::loadOne ('SELECT * FROM users WHERE LOWER(username)=LOWER(?)', array ($username))) {
|
||||
if ($user['password'] == UserManager::getHashPassword($password)) {
|
||||
echo "user loged in";
|
||||
return $user['user_id'];
|
||||
} else {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user