The admin wrongly assumes you can't login with your email
|Reported by:||Julien Phalip||Owned by:||nobody|
|Cc:||ramusus@…, daniel@…||Triage Stage:||Accepted|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
On one of my sites, I have a custom authentication backend which allows you to login with your email, and just your email (the
username attribute is basically ignored in the process).
It works fine, you can login both on the front-end site and on the admin site with your email.
However, if you mistype the email address or try to login with an email that doesn't exist, in the admin, then you get the message "Usernames cannot contain the '@' character.".
I don't know what's the best approach to fix this. I report now and will try to think of a patch.
This is something that I think is important to fix before 1.0, as that error message is quite misleading.
Change History (21)
comment:1 Changed 8 years ago by
|Patch needs improvement:||unset|
|Status:||new → closed|
comment:12 Changed 6 years ago by
|milestone:||1.0 → 1.3|
|Status:||closed → reopened|
|Triage Stage:||Unreviewed → Accepted|