user_pass_rehash

Versions
4.7 – 7
user_pass_rehash($password, $timestamp, $login)

▾ 2 functions call user_pass_rehash()

user_pass_reset in 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 modules/user/user.module

Code

modules/user/user.module, line 1446

<?php
function user_pass_rehash($password, $timestamp, $login) {
  return md5($timestamp . $password . $login);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.