Skip to content

Commit ced7398

Browse files
BimonBimon
authored andcommitted
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
1 parent ad99865 commit ced7398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/login/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function render() {
114114
$sql = "SELECT * FROM sys_user WHERE USERNAME = '$username'";
115115
$user = $app->db->queryOneRecord($sql);
116116

117-
if($user && $user['active'] == 1) {
117+
if($user) {
118118

119119
$saved_password = stripslashes($user['passwort']);
120120

0 commit comments

Comments
 (0)