﻿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
16615	UserChangeForm does not handle username changes well	Lacrymology	nobody	"When using UserChangeForm to change the logged in user's username, it changes the instance's username (and any other data changed) to the requested value until the next request. This doesn't change the database, but it does make the response template use the wrong username on this request's render.

this is caused by ModelForm's build_instance when the form was created with an ``instance`` kwarg, which is called before checking for uniqueness.

In general, it doesn't seem that the UserChangeForm handles failure very well when the instance kwarg is set."	Bug	closed	contrib.auth	1.3	Normal	needsinfo			Unreviewed	0	0	0	0	0	0
