You are here

function user_pass_reset_url in Drupal 4

Same name and namespace in other branches
  1. 8 core/modules/user/user.module \user_pass_reset_url()
  2. 5 modules/user/user.module \user_pass_reset_url()
  3. 6 modules/user/user.module \user_pass_reset_url()
  4. 7 modules/user/user.module \user_pass_reset_url()
  5. 9 core/modules/user/user.module \user_pass_reset_url()
  6. 10 core/modules/user/user.module \user_pass_reset_url()
2 calls to user_pass_reset_url()
user_pass_submit in modules/user.module
user_register_submit in modules/user.module

File

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

Code

function user_pass_reset_url($account) {
  $timestamp = time();
  return url("user/reset/{$account->uid}/{$timestamp}/" . user_pass_rehash($account->pass, $timestamp, $account->login), NULL, NULL, TRUE);
}