Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(redirect): Use frontend_url for redirection #424

Closed
wants to merge 1 commit into from

Conversation

jsayer101
Copy link

@jsayer101 jsayer101 commented Oct 2, 2024

Hello,

I found that this redirect triggered when the account is already validated when trying to send a validation email doesn't follow the same behavior as the others (for exemple here and here)

An actual scenario that I came across :
I use it only with API, but my frontend follow redirects.
I ask for a validation email, I open it in a new tab. I close the tab where I'm now logged-in. I go back to the tab where I asked for the email. Clicking again on the "Send email" should redirect me to /dashboard (using my frontend), but it actually redirects me to /dashboard with the URL of my api.

What do you think ?

Thanks.

@taylorotwell
Copy link
Member

Feel free to change in your own app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants