This commit is contained in:
JonatanRek 2020-05-17 15:14:27 +02:00
parent dc50d5d4d6
commit 7af1eda141

View File

@ -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;