[web2py] Re: extend login method of Auth class

2010-02-16 Thread mdipierro
It should be B is you require email verification. Need to update the docs. On Feb 16, 11:41 am, reyelts wrote: > Hmm... I stumbled on a headscratcher that took a while to figure out. > When I use the register function to create a new user, that user is > automatically logged in. But, auth.setting

[web2py] Re: extend login method of Auth class

2010-02-16 Thread reyelts
Hmm... I stumbled on a headscratcher that took a while to figure out. When I use the register function to create a new user, that user is automatically logged in. But, auth.settings.login_onaccept was never invoked. I would have expected one of the following: A) The auth.settings.login_onaccept fu

[web2py] Re: extend login method of Auth class

2010-02-16 Thread reyelts
Thanks... it's a beautiful thing. Sorry I didn't see that in the doc... I clearly wasn't searching on the right keywords. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscrib

[web2py] Re: extend login method of Auth class

2010-02-15 Thread mdipierro
It is simpler that that def mystuff(form): do_something_with(form.vars) auth.settings.login_onaccept=mystuff On Feb 15, 11:37 pm, reyelts wrote: > I'd like to extend the login method of the Auth class to do a couple > of initialization things based on the login. Based on what I've been > read