After upgrading to web2py version 2.4.4 this no longer works:

auth.settings.logout_onlogout = lambda user: on_logout(auth,session)

I get the following error:

global name 'on_logout' is not defined.

on_logout(auth,session) is a function in a module which clears all the 
settings

of the cms part of my application.

Is there another way to call on_logout(auth,session) in web2py 2.4.4?


Kind regards,

Annet



-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to