On 5/11/2017 1:24 PM, Chris Hawes wrote:

I'm wondering if there is a reason |mezzanine.core.auth_backends.MezzanineBackend| doesn't support case-insensitive usernames for logging in? |mezzanine.accounts.forms.ProfileForm| enforces case-insensitive username uniqueness when registering, so it seems like it would be natural to allow them for logging in. It feels to me like a bug that it doesn't.


I bring this up because I've had users of my site write to me bewildered that they can't log in, and then it turns out they had capitalization in their username and just assumed that it wouldn't matter, as is the case on other sites.


If others do not agree that it is a bug, perhaps adding a setting for this would be appropriate. In any case I would be happy to work on a PR if there is agreement on a change.


I've certainly had the case where users have contacted me because they'd put some capitalisation in their original signup email address and then tried to log in using it in all lowercase -- and in the case of email addresses, case is DEFINITELY not important - so I don't know why it seems to be for the Mezzanine/Django login.

So if usernames are also not case sensitive, we should definitely fix it for both.

Seeya. Danny.

--
You received this message because you are subscribed to the Google Groups "Mezzanine 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to