Did you set email_case_sensitive = False *after* those users had already 
registered? With that setting, upon registration, it converts the email to 
lowercase before storing in the database, and then on login, it looks for 
the lowercase version of the email in the database. Try converting all 
email addresses already in the database to lowercase and see if it works 
then.

Anthony

On Friday, May 16, 2014 6:48:25 AM UTC-4, Horst Horst wrote:
>
> I'm running web2py 2.9.5 and set auth.settings.email_case_sensitive to 
> False in my app, because I thought it'd be a good idea.
>
> Now I have a bunch of users complaining that they can't log in, and 
> figured out that they registered with an email address which contains 
> capital letters. I tried myself and it seems that the case insensitivity 
> only works if the email address is all-lowercase during registration. 
> Otherwise even identical spelling on registration and login leads to an 
> "Invalid Login."
>
> Shall I open a ticket?
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to