Hi, I'm trying to achieve a queued email verification email for my project. My Laravel project is actually purely just an API backend to a NuxtJS frontend, and as such my fortify.home config is:
So when I click the email verification button I need it to redirect to this, but after extending the SendEmailVerificationNotification listener the home url isn't retained and ends up just redirecting to localhost which is my API's page which doesn't exist. How can I retain everything about the verification email?
Extending the SendEmailVerificationNotification shouldn't affect where you redirect after clicking the email verification button. have you maybe tried adding a redirect at the end of the sendEmailVerificationNotification() method?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi, I'm trying to achieve a queued email verification email for my project. My Laravel project is actually purely just an API backend to a NuxtJS frontend, and as such my
fortify.home
config is:So when I click the email verification button I need it to redirect to this, but after extending the
SendEmailVerificationNotification
listener thehome
url isn't retained and ends up just redirecting tolocalhost
which is my API's page which doesn't exist. How can I retain everything about the verification email?Extending the
SendEmailVerificationNotification
shouldn't affect where you redirect after clicking the email verification button. have you maybe tried adding a redirect at the end of thesendEmailVerificationNotification()
method?