Closed vokracko closed 2 years ago
When using get_current_authenticated_user outside of request context (middleware not applied) the thread variable still contains instance of a last user that performed request (which might not exist anymore)
get_current_authenticated_user
@daviddavis @Paessler @belugame WDYT?
The tests fail, that should be fixed before merging
superseded by https://github.com/PaesslerAG/django-currentuser/pull/61
Problem
When using
get_current_authenticated_user
outside of request context (middleware not applied) the thread variable still contains instance of a last user that performed request (which might not exist anymore)Occurences
Related issues