Change record status: 
Project: 
Introduced in branch: 
8.0.x
Introduced in version: 
8.0.0-beta13
Description: 

Summary

  • user_pass_rehash() now requires a full user instead of specific properties about the user
  • Allows flexibility in the future to add other pieces of data to the password reset hash

Before

// The old way of calling user_pass_rehash
$hash = user_pass_rehash($password, $timestamp, $login, $uid);

After

// The new way of calling user_pass_rehash
$hash = user_pass_rehash($account, $timestamp)
Impacts: 
Module developers