Files
opensem/app/Notifications/ResetPassword.php
2024-01-05 01:30:46 +01:00

23 lines
811 B
PHP

<?php
namespace App\Notifications;
use Illuminate\Notifications\Messages\MailMessage;
class ResetPassword extends \Illuminate\Auth\Notifications\ResetPassword
{
public function toMail($notifiable)
{
return (new MailMessage())
->markdown('boilerplate::notifications.email')
->greeting(__('boilerplate::notifications.greeting', ['firstname' => $notifiable->first_name]))
->subject(__('boilerplate::notifications.resetpassword.subject'))
->line(__('boilerplate::notifications.resetpassword.intro'))
->action(
__('boilerplate::notifications.resetpassword.button'),
route('Shop.password.reset', $this->token)
)
->line(__('boilerplate::notifications.resetpassword.outro'));
}
}