Multiple emails in admin can cause error
|Reported by:||Michael Newman||Owned by:||Michael Newman|
|Severity:||Keywords:||admin, login, nfa|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
If you have multiple users who have the same e-mail address and one of them try to log into the admin site with their email address Django throws an exception. This is a extreme fringe case, but I have been biten by it due to editors who don't know what they are doing.
I applied a patch that doesn't return a username from the e-mail address. I can't find tests to add a line that would test for this. This patch is applied to Newforms Admin, but the two lines could be applied to trunk without a problem.
Change History (9)
comment:1 Changed 8 years ago by
|Owner:||changed from nobody to Michael Newman|
|Status:||new → assigned|