543   Laravel

How to edit laravel5 reset password link content ? Let me show you !

Two ways

1, reset password link view template in /resource/views/email/password.blade.php , You are free to modify it!

2, use a new view template , edit the default view template config in /config/auth.php , Please check the following , eidt the ’email’ content,

'password' => [
        'email' => 'user.link',
        'table' => 'password_resets',
        'expire' => 60,
    ],

Then you can create your new view template ‘user.link’ !

Also , you may want to edit the reset password mail title ! It is easy to do that ! Add “protected $subject = ‘your reset password mail title’; ” to the ‘PasswordController’ !




Leave a Reply

Your email address will not be published. Required fields are marked *