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

Failing test for get_login_redirect_url when LOGIN_ON_EMAIL_CONFIRMATION #4089

Closed

Conversation

francoisfreitag
Copy link
Contributor

I’m not yet sure how to fix this. It looks like a regression from 560cb24.

@pennersr
Copy link
Owner

pennersr commented Sep 5, 2024

That commit is a refactor that cleans up the adhoc handling of the email verification link as was the case before. And, in this case it causes a change in behavior. It now calls get_signup_redirect_url() instead of get_login_redirect_url() -- because, that is actually what the test case is doing. It is in the process of performing a signup.

So, while indeed a change in behavior, I do think the current behavior is the correct one and we should leave this as is.

@pennersr
Copy link
Owner

pennersr commented Sep 5, 2024

Thanks for the test -- that helps in tracking things down fast. I've adjusted it and committed it here:

5c48f11

@pennersr pennersr closed this Sep 5, 2024
@francoisfreitag
Copy link
Contributor Author

Oops, thanks for your answer!
That’s indeed an issue from my codebase and it should have used get_signup_redirect_url() from the start. That’ll be easy to fix 👍.

@francoisfreitag francoisfreitag deleted the post_login_url branch September 5, 2024 16:14
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