I created my own model and modified the provider to use my model called Admin in config & auth.php
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => App\Admin::class,
],
and my model will add the following:
<?php
namespace App;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Contracts\Auth\CanResetPassword;
class Admin extends Authenticatable
{
public function sendPasswordResetNotification($token)
{
$this->notify(new MyResetPassword($token));
}
}
and now I have to create something like that? I do not understand much about the documentation, this is the one I'm seeing link
The point is that in my login I have a link that says to reset your password so when I click I want you to send me the link to reset the password