[web2py] Re: user name case sensitivity

2016-08-14 Thread Michael M
That makes complete sense. ill spin up another app and give it a try. Thank-you for responding to that. :) On Friday, August 12, 2016 at 8:36:51 PM UTC-7, Joe Barnhart wrote: > > There is one important issue -- the line setting the case sensitivity on > auth.settings must occur BEFORE the

[web2py] Re: user name case sensitivity

2016-08-12 Thread Joe Barnhart
There is one important issue -- the line setting the case sensitivity on auth.settings must occur BEFORE the tables are generated. If the line occurs after the auth table is generated it has no effect. At lease this was the case when I first ran afoul of it a year ago. -- Joe On Tuesday,

[web2py] Re: user name case sensitivity

2016-07-19 Thread Michael Messmer
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

[web2py] Re: user name case sensitivity

2016-07-18 Thread Antonio Salazar
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