Jak dostosować ścieżkę szablonu e-maila resetowania w programie Laravel 5.3?Laravel 5.3 Ponownie zdefiniuj szablon ostrza e-mail do resetowania
Szablon używany jest: vendor/laravel/framework/src/Illuminate/Notifications/resources/views/email.blade.php
Chciałbym zbudować własną rękę.
Ponadto, jak zmienić tekst tego maila predefiniowanego w: vendor/laravel/framework/src/Illuminate/Auth/Notifications/ResetPassword.php
public function toMail()
{
return (new MailMessage)
->line([
'You are receiving this email because we received a password reset request for your account.',
'Click the button below to reset your password:',
])
->action('Reset Password', url('password/reset', $this->token))
->line('If you did not request a password reset, no further action is required.');
}
Ponadto, aby utworzyć nową klasę powiadomień, należy użyć tego wiersza polecenia ' php rzemieślnik make: powiadomienie MyOwnResetPassword' [Więcej tutaj] (https://laracasts.com/discuss/channels/laravel/how-to-override-message-in-sendresetlinkemail-in-forgotpasswordcontroller#reply-183598) – Garric15