summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-11-22 11:05:12 +0400
committerAndrew Dolgov <[email protected]>2011-11-22 11:05:12 +0400
commit4044a5fa5265cab619dd47e2000f90dc2e455fbe (patch)
tree9f26d5582f8d732c41c7b7b995b95a5d4b2ae647 /functions.php
parent92decf4f2ddb0c822e8d333ae66f4014f0bee253 (diff)
remove pointless escaping of the password (refs #392)
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 10f8e034e..730b20c86 100644
--- a/functions.php
+++ b/functions.php
@@ -2111,7 +2111,7 @@
# try to authenticate user if called from login form
if ($login_action == "do_login") {
$login = db_escape_string($_POST["login"]);
- $password = db_escape_string($_POST["password"]);
+ $password = $_POST["password"];
$remember_me = $_POST["remember_me"];
if (authenticate_user($link, $login, $password)) {