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

Remove session dependency in authenticate_header #31

Merged
merged 1 commit into from
Feb 7, 2016

Conversation

pstiasny
Copy link
Contributor

@pstiasny pstiasny commented Feb 7, 2016

Even when you provide a custom nonce/opaque storage mechanism for HTTPDigestAuth, session is still being accessed. This is unnecessary as appropriate session variables are already being set by the default mechanism and breaks apps that don't use sessions at all (i.e. don't set the SECRET_KEY).

The change proposed here seems to be enough to fix the problem.

@miguelgrinberg
Copy link
Owner

Good catch. Thanks!

miguelgrinberg added a commit that referenced this pull request Feb 7, 2016
Remove session dependency in authenticate_header
@miguelgrinberg miguelgrinberg merged commit af84252 into miguelgrinberg:master Feb 7, 2016
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