Changes between Initial Version and Version 1 of Ticket #25030, comment 5
- Timestamp:
- Jul 22, 2015, 8:39:05 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25030, comment 5
initial v1 3 3 > 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? 4 4 5 I've now updated https://github.com/django/django/pull/4925 with a497f111cf959b23163c030745e4cb18be7eb0a9 whe nI shortcut when the user is authenticated.5 I've now updated https://github.com/django/django/pull/4925 with a497f111cf959b23163c030745e4cb18be7eb0a9 where I shortcut when the user is authenticated. 6 6 7 7 I'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?