You are here

function user_pass_rehash in Drupal 4

Same name and namespace in other branches
  1. 8 core/modules/user/user.module \user_pass_rehash()
  2. 5 modules/user/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.module
Menu callback; process one time login link and redirects to the user page on success.
user_pass_reset_url in modules/user.module

File

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

Code

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