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

Links on /_login don't work after login w/o redirect #14

Closed
roberthodgen opened this issue Dec 3, 2014 · 1 comment
Closed

Links on /_login don't work after login w/o redirect #14

roberthodgen opened this issue Dec 3, 2014 · 1 comment
Labels

Comments

@roberthodgen
Copy link
Owner

The buttons (links) don't work (aren't supplied?) on the template displayed after logging in without a redirect.

@roberthodgen
Copy link
Owner Author

To fix this: a optional kwarg user has been added to users.template_values(), if this is specified and not None: the object passed as user will be used in lieu of users.get_current_user() (as get_current_user() looks for the request cookie, which isn't supplied in a login request!).

This is the solution to this issue.

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

No branches or pull requests

1 participant