Changes between Initial Version and Version 1 of Ticket #25030, comment 5


Ignore:
Timestamp:
Jul 22, 2015, 8:39:05 AM (9 years ago)
Author:
Jan Pazdziora

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25030, comment 5

    initial v1  
    33>  We might find a way to short-circuit the contrib.auth login view when request.user is already authenticated and user.backend point to RemoteUserBackend or a subclass. Thoughts?
    44
    5 I've now updated https://github.com/django/django/pull/4925 with a497f111cf959b23163c030745e4cb18be7eb0a9 when I shortcut when the user is authenticated.
     5I've now updated https://github.com/django/django/pull/4925 with a497f111cf959b23163c030745e4cb18be7eb0a9 where I shortcut when the user is authenticated.
    66
    77I'm not sure about the RemoteUserBackend check though -- it seems to be a little bit out of place in django/contrib/auth/views.py, singling out that particular backend. Is there any reason why any authenticated request.user could be taken at face value?
Back to Top