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

Carry next URL through authentication #4347

Draft
wants to merge 49 commits into
base: master
Choose a base branch
from
Draft

Carry next URL through authentication #4347

wants to merge 49 commits into from

Conversation

joemull
Copy link
Member

@joemull joemull commented Aug 7, 2024

Closes #3899.

Comment on lines 41 to 46
reverse_with_next(
'core_reset_password',
kwargs={'token': reset_token.token},
request=request,
)
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed, since request.site_type.site_url now takes in an optional query parameter, we want to avoid encoding the querystring onto the path parameter ahead of time. Instead, we can pass in the query elements to be encoded separately and delegete URL encoding to site_url. We could either use a regular dictionary or a mutable Querydict

@joemull joemull changed the title Carry next URL thorugh authentication Carry next URL through authentication Aug 7, 2024
ajrbyers and others added 28 commits September 13, 2024 12:09
Logic is moved to a helper function.
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.

Context lost during account registration
3 participants