stripslashes() from $pwd before performing the md5. Otherwise, we will not match the database password which had its slashes stripped before the MD5.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
183a27dbea
commit
1c803e1f58
|
@ -60,7 +60,7 @@ case 'login':
|
|||
|
||||
if(!empty($_POST)) {
|
||||
$log = $_POST['log'];
|
||||
$pwd = $_POST['pwd'];
|
||||
$pwd = stripslashes($_POST['pwd']);
|
||||
$redirect_to = $_POST['redirect_to'];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue