mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-25 20:57:35 +08:00
API: torrents upload/list
This commit is contained in:
@@ -29,7 +29,7 @@ if ($useChallengeResponse) {
|
||||
}
|
||||
}
|
||||
|
||||
$res = sql_query("SELECT id, passhash, secret, auth_key, enabled, status, two_step_secret, lang FROM users WHERE username = " . sqlesc($username));
|
||||
$res = sql_query("SELECT id, passhash, secret, auth_key, enabled, status, two_step_secret, lang FROM users WHERE BINARY username = " . sqlesc($username));
|
||||
$row = mysql_fetch_array($res);
|
||||
|
||||
if (!$row)
|
||||
|
||||
Reference in New Issue
Block a user