server/session.py
branchstable
changeset 3161 005f745315b0
parent 3112 873202e181bb
child 3162 d6ae24439bee
child 3196 77936fa67ae6
--- a/server/session.py	Thu Sep 10 08:00:44 2009 +0200
+++ b/server/session.py	Thu Sep 10 08:02:52 2009 +0200
@@ -81,7 +81,7 @@
     def hijack_user(self, user):
         """return a fake request/session using specified user"""
         session = Session(user, self.repo)
-        session._threaddata = self._threaddata
+        session._threaddata = self.actual_session()._threaddata
         return session
 
     def _change_relation(self, cb, fromeid, rtype, toeid):