﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
25164	The django.contrib.auth.views.login does not observe authentication via RemoteUserMiddleware	Jan Pazdziora	nobody	"Assume application which uses `django.contrib.auth.views.login` and it works fine. Then `django.contrib.auth.middleware.RemoteUserMiddleware` is enabled. Even when the user is authenticated via the `REMOTE_USER` mechanism, the login page is still shown but any templates that check `user.is_anonymous` will see the user as authenticated, on that page. And with `PersistentRemoteUserMiddleware` on any page after that.

This is kind of related to https://code.djangoproject.com/ticket/25030 where it's been suggested that the solution should go to `django.contrib.auth`, and also https://code.djangoproject.com/ticket/25163 which might actually be just `django.contrib.admin` case of this more generic `django.contrib.auth` issue."	Bug	closed	contrib.auth	dev	Normal	wontfix			Unreviewed	0	0	0	0	0	0
