fixed case sensitivity
This commit is contained in:
parent
697543d3cb
commit
8976feebca
@ -71,7 +71,7 @@ session_start();
|
||||
login($safe_uname);
|
||||
} else
|
||||
{
|
||||
$res = $database -> query("SELECT username, password FROM user WHERE username=\"" . $safe_uname . "\" AND password = \"" . $hashed_pass . "\"");
|
||||
$res = $database -> query("SELECT username, password FROM user WHERE BINARY username=\"" . $safe_uname . "\" AND BINARY password = \"" . $hashed_pass . "\"");
|
||||
|
||||
if ($res -> num_rows == 1)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user