What login method are you using? I would think that would work with the 
standard login method, but when using alternative methods, it looks like 
the login() code uses request.vars[username], which would be the 
un-transformed password (i.e., not converted to lowercase).

Anthony

On Thursday, December 8, 2011 11:12:40 PM UTC-5, Constantine Vasil wrote:
>
> I tested this:
>
> in registration form - entered lower case email, then in login form
> entered email with first letter - a capital. The message was 'Invalid 
> login'.
>
>
>
> In registration form:
> ======================================================    
> auth.settings.table_user.email.requires=[
>                                              IS_LOWER(),
>                                              IS_EMAIL(),
>                                             
>  IS_NOT_IN_DB(db,auth.settings.table_user.email)
>                                              ]
>     current.app.auth =  auth         
>     form=current.app.auth.register()
>
>
> In login form
> ======================================================
>
>     auth.settings.table_user.email.requires=[
>                                              IS_LOWER(),IS_EMAIL(),
>                                             
>  IS_NOT_IN_DB(db,auth.settings.table_user.email)
>                                              ] 
>     current.app.auth =  auth    
>     form=current.app.auth.login(next=login_next)
> ======================================================
>

Reply via email to