auth.settings.login_onaccept and auth.settings.register_onaccept can each 
be a list of callback functions that take a form object (the 
post-submission instance of the login and registration form objects, 
respectively). There are callbacks for other auth events as well -- 
see http://web2py.com/books/default/chapter/29/9#Settings-and-messages.

Anthony

On Monday, March 19, 2012 4:04:50 PM UTC-4, sebsto wrote:
>
> Dear All, 
>
> I would like to execute some security related code (like key 
> generation) after successful Registration and / or Login function ... 
>
> Is it possible ?  How to do it ? 
>
> Thanks 
>
> Seb

Reply via email to