-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add possibility to redirect to next_url via provided cookie #61
Conversation
raise ValueError( | ||
f"Provider {provider} is already connected to current user" | ||
) | ||
if self.provider in self._provider_names: |
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.
Use Python f-strings
self.request.response.redirect( | ||
self.context.absolute_url() + next_url | ||
) | ||
return _(f"redirecting") |
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.
This is going to raise a lint error. (as you are not interpolating anything"
How is this supposed to work? What creates the next_url cookie? |
See #58