Commit ced7398e authored by Bimon's avatar Bimon
Browse files

line 117 " && $user['active']" removed

reason: not necessary here, check is in line 141, when checking in line 117 and setting $user to false user blocked message will never show
parent ad998656
......@@ -114,7 +114,7 @@ class login_index {
$sql = "SELECT * FROM sys_user WHERE USERNAME = '$username'";
$user = $app->db->queryOneRecord($sql);
if($user && $user['active'] == 1) {
if($user) {
$saved_password = stripslashes($user['passwort']);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment