diff options
author | Andrew Dolgov <[email protected]> | 2011-11-22 11:05:12 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-11-22 11:05:12 +0400 |
commit | 4044a5fa5265cab619dd47e2000f90dc2e455fbe (patch) | |
tree | 9f26d5582f8d732c41c7b7b995b95a5d4b2ae647 /api | |
parent | 92decf4f2ddb0c822e8d333ae66f4014f0bee253 (diff) |
remove pointless escaping of the password (refs #392)
Diffstat (limited to 'api')
-rw-r--r-- | api/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/index.php b/api/index.php index 4a5c1bb31..333eb0dc9 100644 --- a/api/index.php +++ b/api/index.php @@ -80,8 +80,8 @@ case "login": $login = db_escape_string($_REQUEST["user"]); - $password = db_escape_string($_REQUEST["password"]); - $password_base64 = db_escape_string(base64_decode($_REQUEST["password"])); + $password = $_REQUEST["password"]; + $password_base64 = base64_decode($_REQUEST["password"]); if (SINGLE_USER_MODE) $login = "admin"; |