I added it and it still didn't work.  But I am using LDAP-AD login method. 


The method I use is:

def user():
    if request.args(0) == 'login' and request.post_vars.username:
        request.post_vars.username = request.vars.username = 
request.post_vars.username.upper() #or .lower() if you prefer.
    return dict(form=auth())



On Monday, July 18, 2016 at 8:23:40 AM UTC-7, Antonio Salazar wrote:
>
> In db.py, after declaring auth, use this to save all usernames and emails 
> as lowercase.
>
> auth.settings.username_case_sensitive = False
> auth.settings.email_case_sensitive = False
>
>
> On Friday, July 15, 2016 at 11:37:41 AM UTC-5, kstesr...@gmail.com wrote:
>>
>>
>> Team,
>>
>> I see the login user is case sensitive ,can we make it in-sensitive i.e 
>> to treat us...@gmail.com and us...@gmail.com as the same.
>>
>> Sri
>>
>

-- 
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