Do not require password update when changing profile. http://mosquito.wordpress.org/view.php?id=1101 Props: idanso

git-svn-id: http://svn.automattic.com/wordpress/trunk@2439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-03-13 17:29:33 +00:00
parent fc33ac0368
commit c1c2c0df34
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ case 'update':
do_action('check_passwords', array($user_login, &$pass1, &$pass2)); do_action('check_passwords', array($user_login, &$pass1, &$pass2));
if ( '' == $pass1 ) { if ( '' == $pass1 ) {
if ( '' == $pass2 ) if ( '' != $pass2 )
die (__("<strong>ERROR</strong>: you typed your new password only once. Go back to type it twice.")); die (__("<strong>ERROR</strong>: you typed your new password only once. Go back to type it twice."));
$updatepassword = ""; $updatepassword = "";
} else { } else {