Skip to content

Instantly share code, notes, and snippets.

@cursosdesarrolloweb
Created Jul 20, 2021
Embed
What would you like to do?
<?php
namespace App\Models;
use App\Notifications\ResetPassword;
// más use
class User extends Authenticatable
{
// más código
/**
* Send the password reset notification.
*
* @param string $token
* @return void
*/
public function sendPasswordResetNotification($token)
{
$this->notify(new ResetPassword($token));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment