function user_pass_rehash
7.x user.module | user_pass_rehash($password, $timestamp, $login) |
6.x user.module | user_pass_rehash($password, $timestamp, $login) |
2 calls to user_pass_rehash()
- user_pass_reset in drupal-6.x/
modules/ user/ user.pages.inc - Menu callback; process one time login link and redirects to the user page on success.
- user_pass_reset_url in drupal-6.x/
modules/ user/ user.module - Generates a unique URL for a user to login and reset their password.
File
- drupal-6.x/
modules/ user/ user.module, line 1490 - Enables the user registration and login system.
Code
function user_pass_rehash($password, $timestamp, $login) {
return md5($timestamp . $password . $login);
}