Replace localhost with real domain name in reset password of Laravel 5
Change the APP_URL
parameter in your .env
file to adapt the app's domain name.
APP_URL=http://localhost
to APP_URL=https://yourdomain.com
If you cache your config (which you shouldn't do in local or test environment but definitely in production), don't forget to use the php artisan config:clear
command.
update APP_URL
in .env file and clear the cache to reflect changes