try this: auth.sesttings.logout_onlogout = lambda user,s=session: session.clear()
On May 1, 2:46 am, Jason Brower <encomp...@gmail.com> wrote: > I need to make sure curtain session data is wiped when the user is > logged out. > This bring up two things: > 1: How can I run a method like that to make sure this happens when ever > the logout is clicked. > 2: I wonder if there could be a spacial area of sessions that is just > for that users authenticated session. > BR, > Jason Brower