You are here

function user_pass_rehash in Drupal 5

Same name and namespace in other branches
  1. 8 core/modules/user/user.module \user_pass_rehash()
  2. 4 modules/user.module \user_pass_rehash()
  3. 6 modules/user/user.module \user_pass_rehash()
  4. 7 modules/user/user.module \user_pass_rehash()
  5. 9 core/modules/user/user.module \user_pass_rehash()
2 calls to user_pass_rehash()
user_pass_reset in modules/user/user.module
Menu callback; process one time login link and redirects to the user page on success.
user_pass_reset_url in modules/user/user.module

File

modules/user/user.module, line 1183
Enables the user registration and login system.

Code

function user_pass_rehash($password, $timestamp, $login) {
  return md5($timestamp . $password . $login);
}