Illuminate\Auth\Console\Reminders\DatabaseReminderRepository
/**
* Create a new token for the user.
*
* @param \Illuminate\Auth\Reminders\RemindableInterface $user
* @return string
*/
public function createNewToken(RemindableInterface $user)
{
$email = $user->getReminderEmail();
$value = str_shuffle(sha1($email.spl_object_hash($this).microtime(true)));
return hash_hmac('sha1', $value, $this->hashKey);
}
Hi, many thanks Ionut-Bajescu.
I will review this file.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community