Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -114,7 +114,7 @@ class login_index { ...@@ -114,7 +114,7 @@ class login_index {
$sql = "SELECT * FROM sys_user WHERE USERNAME = '$username'"; $sql = "SELECT * FROM sys_user WHERE USERNAME = '$username'";
$user = $app->db->queryOneRecord($sql); $user = $app->db->queryOneRecord($sql);
if($user && $user['active'] == 1) { if($user) {
$saved_password = stripslashes($user['passwort']); $saved_password = stripslashes($user['passwort']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment