Changes between Initial Version and Version 3 of Ticket #23925


Ignore:
Timestamp:
Nov 27, 2014, 3:54:11 AM (10 years ago)
Author:
sdeprez
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23925

    • Property Cc sdeprez added
    • Property Owner changed from nobody to sdeprez
    • Property Status newassigned
    • Property Has patch unset
  • Ticket #23925 – Description

    initial v3  
    1212- Run django, create an user and try to login. Everything will go fine (no errors), except that you WON'T be logged, because of `django.contrib.auth.get_user` that will return an AnonymousUser. This can be very painful to track and this can even lead to infinite loops if your `LOGIN_REDIRECT_URL` is an url that requires login, because the session key will be set but an `AnonymousUser` is returned.
    1313
    14 I attached a patch that fixes that, by setting the actual path used in `AUTHENTICATION_BACKENDS` in the user, without any changes to the working public API.
     14A pull request is linked which addresses the issue by setting the actual path used in `AUTHENTICATION_BACKENDS` in the user, without any changes to the working public API. All the tests passed under SQLite.
Back to Top