#Configured `APP_URL` but links in emails still show as `http://localhost:3000/password-reset/......`
6 messages · Page 1 of 1 (latest)
You may have cached your configuration at some point. Try clearing it (and other cached files):
php artisan optimize:clear
I’ve thought about this, but that’s not the problem. I get a fresh everything on deploy, because I’m building a new image and deploying that image (using Fly.io)
Are your emails queued and have you restarted your queue worker?
If you have all you set up done. And again you have pushed in queued email. You need to run optimize clear and restart you queue.
If anyone else is reading this: I found it. An app scaffolded with Breeze "api" has this line in AuthServiceProvider:
ResetPassword::createUrlUsing(function ($notifiable, $token) {
return config('app.frontend_url')."/password-reset/$token?email={$notifiable->getEmailForPasswordReset()}";
});