Skip to content

Instantly share code, notes, and snippets.

@cursosdesarrolloweb
Created July 20, 2021 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cursosdesarrolloweb/d6a0f584378f90de1684cae9f5b04f8c to your computer and use it in GitHub Desktop.
Save cursosdesarrolloweb/d6a0f584378f90de1684cae9f5b04f8c to your computer and use it in GitHub Desktop.
<?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