Remove debug cruft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8ee2a563b8
commit
7875b024a8
|
@ -132,9 +132,6 @@ case 'resetpass' :
|
|||
die( __('Sorry, that key does not appear to be valid.') );
|
||||
|
||||
do_action('password_reset');
|
||||
echo "doing password reset for : {$user->user_login}<br/>";
|
||||
exit;
|
||||
|
||||
|
||||
$new_pass = substr( md5( uniqid( microtime() ) ), 0, 7);
|
||||
$wpdb->query("UPDATE $wpdb->users SET user_pass = MD5('$new_pass'), user_activation_key = '' WHERE user_login = '$user->user_login'");
|
||||
|
|
Loading…
Reference in New Issue