I guess anywhere an Auth form is processed, prior to calling the Auth
method, do something like:
if request.vars.email:
request.vars.email = request.vars.email.lower()
So when a user submits an Auth form with an email address, it is converted
to lowercase before being passed to the Auth method or being saved in the
db.
Anthony
On Friday, December 9, 2011 1:28:11 PM UTC-5, Constantine Vasil wrote:
>
> > I suppose you could intercept the request.vars in your controller and do
> the conversion before Auth gets it.
>
> This is OK - could you please tell me with a code how you would do it? I
> want to be sure it works
> and going with the debugger is time consuming if it does not.
>
> --> what you will add here?
>
> current.app.auth = auth
> form=current.app.auth.request_reset_password()
>