WordPress.org

Make WordPress Core

Changeset 15735


Ignore:
Timestamp:
10/06/2010 07:02:43 PM (8 years ago)
Author:
scribu
Message:

Fix password reset procedure. See #5919

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r15710 r15735  
    438438        $errors = new WP_Error('password_reset_mismatch', __('The passwords do not match.'));
    439439    } elseif ( isset($_POST['pass1']) && !empty($_POST['pass1']) ) {
    440         reset_password($user, $_POST['pass']);
     440        reset_password($user, $_POST['pass1']);
    441441        login_header(__('Password Reset'), '<p class="message reset-pass">' . __('Your password has been reset.') . ' <a href="' . site_url('wp-login.php', 'login') . '">' . __('Log in') . '</a></p>');
    442442        login_footer();
Note: See TracChangeset for help on using the changeset viewer.