ldc-boutique-cnc/app/Notifications/Customer/ResetPassword.php
Jérémy Munsch f99e259bd5
Tons of fixes Refonte SYNC 1
- Authentification System OK
2022-11-16 12:47:41 +01:00

23 lines
611 B
PHP

<?php
namespace App\Notifications\Customer;
use App\Mail\PasswordResetMail;
use Illuminate\Auth\Notifications\ResetPassword as NotificationsResetPassword;
class ResetPassword extends NotificationsResetPassword
{
/**
* Build the mail representation of the notification.
*
* @param mixed $notifiable
* @return \Illuminate\Notifications\Messages\MailMessage
*/
public function toMail($notifiable)
{
/** @var \App\Models\Customer $notifiable */
$resetUrl = $this->resetUrl($notifiable);
return new PasswordResetMail($notifiable, $resetUrl);
}
}