function user_pass_reset_url in Drupal 4
Same name and namespace in other branches
- 8 core/modules/user/user.module \user_pass_reset_url()
- 5 modules/user/user.module \user_pass_reset_url()
- 6 modules/user/user.module \user_pass_reset_url()
- 7 modules/user/user.module \user_pass_reset_url()
- 9 core/modules/user/user.module \user_pass_reset_url()
- 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);
}