23 lines
611 B
PHP
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);
|
|
}
|
|
}
|