diff MoinMoin/app.py @ 889:4cac830aca1e storage-ng

user obj: use .itemid consistently
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 26 Sep 2011 15:54:12 +0200
parents e1a68b3721cc
children 10a358208aba
line wrap: on
line diff
--- a/MoinMoin/app.py	Mon Sep 26 13:08:03 2011 +0200
+++ b/MoinMoin/app.py	Mon Sep 26 15:54:12 2011 +0200
@@ -220,7 +220,7 @@
         # could have a param where the admin could tell whether he wants to
         # trust it)
         userobj.auth_trusted = userobj.auth_method in app.cfg.auth_methods_trusted
-        session['user.id'] = userobj.uuid
+        session['user.itemid'] = userobj.itemid
         session['user.auth_method'] = userobj.auth_method
         session['user.auth_attribs'] = userobj.auth_attribs
     return userobj