-
Notifications
You must be signed in to change notification settings - Fork 65
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
base: master
Are you sure you want to change the base?
Conversation
src/core/logic.py
Outdated
reverse_with_next( | ||
'core_reset_password', | ||
kwargs={'token': reset_token.token}, | ||
request=request, | ||
) | ||
) |
There was a problem hiding this comment.
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
…sts for the edit_metadata view.
Logic is moved to a helper function.
36bde2b
to
d5b09c1
Compare
d5b09c1
to
b15a1a9
Compare
Closes #3899.