[web2py] Re: Programmatically log in

2012-04-22 Thread Anthony
> > That works! CRYPT() validator is temporarily removed from and added back > to the list of > db.auth_user.password.requires > inside the same function. Thanks! > You don't have to bother adding the validators back unless the password field will be validated at a later point within the same

[web2py] Re: Programmatically log in

2012-04-22 Thread cyan
That works! CRYPT() validator is temporarily removed from and added back to the list of db.auth_user.password.requires inside the same function. Thanks!

[web2py] Re: Programmatically log in

2012-04-22 Thread Anthony
> > so far, I've only found so-called manual authentication in the manual: > > user = auth.login_bare(username, password) > > but I am not so sure if this is what I need for the case above. In > particular, how could I obtain the corresponding password for the user > here? And I suppose it is en