diff MoinMoin/app.py @ 1339:8109d2d763d1

Fix for #94 password change should invalidate sessions
author "Miks Kalnins <MiksKalnins@MaikuMori.com>"
date Tue, 24 Apr 2012 20:07:06 +0300
parents f0d1cbe58e53
children 4ac437141bbe
line wrap: on
line diff
--- a/MoinMoin/app.py	Mon Apr 09 01:31:36 2012 +0200
+++ b/MoinMoin/app.py	Tue Apr 24 20:07:06 2012 +0300
@@ -218,6 +218,7 @@
         session['user.trusted'] = userobj.trusted
         session['user.auth_method'] = userobj.auth_method
         session['user.auth_attribs'] = userobj.auth_attribs
+        session['user.session_token'] = userobj.get_session_token()
     return userobj