Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

CurrentUserMiddleware doesn't recognize basic auth #1

Closed
tiliv opened this Issue · 0 comments

1 participant

@tiliv
Owner

Requests generated by tastypie (for example) always fail to generate a valid User object for the curried pre_save signal method CurrentUserMiddleware.update_users(). The request user is technically an AnonymousUser in these instances.

This creates a cascading failure during an object's save events as an attempt is made to assign the request's User instance over to the object.

See the basicauth-user-resolution branch.

@tiliv tiliv closed this issue from a commit
@tiliv tiliv Fixes #1
Adds basic auth interpretation to middleware.
7e21c65
@tiliv tiliv closed this in 7e21c65
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.