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 /modules/pref-prefs.php | |
parent | 92decf4f2ddb0c822e8d333ae66f4014f0bee253 (diff) |
remove pointless escaping of the password (refs #392)
Diffstat (limited to 'modules/pref-prefs.php')
-rw-r--r-- | modules/pref-prefs.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php index 2ab79db01..838c722c3 100644 --- a/modules/pref-prefs.php +++ b/modules/pref-prefs.php @@ -21,9 +21,9 @@ if ($subop == "change-password") { - $old_pw = db_escape_string($_POST["old_password"]); - $new_pw = db_escape_string($_POST["new_password"]); - $con_pw = db_escape_string($_POST["confirm_password"]); + $old_pw = $_POST["old_password"]; + $new_pw = $_POST["new_password"]; + $con_pw = $_POST["confirm_password"]; if ($old_pw == "") { print "ERROR: ".__("Old password cannot be blank."); |