﻿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
27515	Make AuthenticationForm use the username length from the user model	Ramin Farajpour Cami	Ramin Farajpour Cami	`AuthenticationForm` has a hardcoded `max_length=254` (#19130). It might be able to use the max length from the user model with something like: `self.fields['username'].max_length = UserModel._meta.get_field(UserModel.USERNAME_FIELD).max_length` in `AuthenticationForm.__init__()`.	Cleanup/optimization	new	contrib.auth	1.10	Normal				Accepted	0	0	0	0	0	0
