It is intended but can be changed.

You can do

    db(auth.settigns.table_user.id>0).update
(email=auth.settings.table_user.email.lower())

to make all current emails lower case and

    auth.settings.table_user.email.requires=[IS_LOWER(),IS_EMAIL
(),IS_NOT_IN_DB(db,auth.settings.table_user.email)]

to make sure all new ones are converted lower case upon validation.

On Feb 19, 7:36 pm, Joe  Barnhart <[email protected]> wrote:
> I dunno if this was intended, but the email address of the user is
> case-sensitive when the logon is created.  One of my users
> inadvertently had an upper-case letter in his email address when he
> registered.  The verification link worked and told him he was
> registered, but he could not log on.  (He didn't know his email
> address had an capital letter in it.)
>
> Should the tools.py library smash the email addresses to lower case
> before saving them?  Or should the login routine do comparisons in a
> case-insensitive manner?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to