Changeset 2438
- Timestamp:
- 03/13/2005 05:15:56 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-login.php
r2437 r2438 126 126 // Generate something random for a password... md5'ing current time with a rand salt 127 127 $key = $_GET['key']; 128 if ( empty($key) ) 129 die( __('Sorry, that key does not appear to be valid.') ); 128 130 $user = $wpdb->get_row("SELECT * FROM $wpdb->users WHERE user_activation_key = '$key'"); 129 131 if ( !$user ) … … 131 133 132 134 do_action('password_reset'); 135 echo "doing password reset for : {$user->user_login}<br/>"; 136 exit; 137 133 138 134 139 $new_pass = substr( md5( uniqid( microtime() ) ), 0, 7);
Note: See TracChangeset
for help on using the changeset viewer.