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 function is invoked in addition to
auth.settings.register_onaccept because the register function
automatically logs me in.

B) The register function does not automatically log me in but instead
redirects to the login page for me to supply my new login info (and
consequently get auth.settings.login_onaccept invoked along the way).

or

C) The documentation for auth.settings.login_onaccept makes clear the
fact that it does not apply to the automatic login that happens at
registration time. This way we know we need to duplicate
auth.settings.login_onaccept in auth.settings.register_onaccept.





-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to