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: https://develop.svn.wordpress.org/trunk@1510 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2004-08-05 15:54:15 +00:00
parent b8484cfed9
commit df2f9960d1
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ case 'login':
if(!empty($_POST)) {
$log = $_POST['log'];
$pwd = $_POST['pwd'];
$pwd = stripslashes($_POST['pwd']);
$redirect_to = $_POST['redirect_to'];
}