Support the ongoing development of Laravel.io →
Authentication
Last updated 2 years ago.
0

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);
	}
Last updated 2 years ago.
0

Hi, many thanks Ionut-Bajescu.

I will review this file.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.