Make WordPress Core

Changeset 1510


Ignore:
Timestamp:
08/05/2004 03:54:15 PM (22 years ago)
Author:
rboren
Message:

stripslashes() from $pwd before performing the md5. Otherwise, we will not match the database password which had its slashes stripped before the MD5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r1448 r1510  
    6161    if(!empty($_POST)) {
    6262        $log = $_POST['log'];
    63         $pwd = $_POST['pwd'];
     63        $pwd = stripslashes($_POST['pwd']);
    6464        $redirect_to = $_POST['redirect_to'];
    6565    }
Note: See TracChangeset for help on using the changeset viewer.