﻿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
11089	contrib.auth.views.login should take an optional 'form' argument	Greg Brown	nobody	"I've been using http://www.djangosnippets.org/snippets/74/ to allow users to log in with their email address, and it has been working really nicely except that users with an email address over 30 characters can't log in. The fix is simply to increase the max_length attribute on the login form's username field, however to effect this change I needed to write a custom view, which was a duplicate of contrib.auth.views.login except that it used my custom form.

My proposal is to add an optional 'form' argument to contrib.auth.views.login - that way I could just put

{{{
    (r'^accounts/login/$', auth_views.login, {'form': MyAuthenticationForm}),
}}}

in my url conf."		closed	Contrib apps	1.1-beta		duplicate			Unreviewed	0	0	0	0	0	0
