php - Laravel 5.1 user name in forget password email template -


i using laravel 5.1 out of box authentication.

in 'password reset email', sent user, want add username, user receives email personalized his/her name.

any guidance on how appreciated.

referecing post: customizing password reset mail view in laravel

yes can change email template, located at:

resources/views/emails/password.blade.php

for customization, pass instance of user model view , echo out username per following:

hello, {{$user->username}}
//and body of reset link goes here


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -