server/session.py
changeset 2778 3f6dfc312760
parent 2764 55579275a091
child 2783 493f527aed1e
child 2784 f395115070c1
--- a/server/session.py	Tue Aug 11 17:26:51 2009 +0200
+++ b/server/session.py	Tue Aug 11 17:27:27 2009 +0200
@@ -48,7 +48,7 @@
 
     def __init__(self, user, repo, cnxprops=None, _id=None):
         super(Session, self).__init__(repo.vreg)
-        self.id = _id or make_uid(user.login.encode('UTF8'))
+        self.id = _id or make_uid(user.cwdb.login.encode('UTF8'))
         cnxprops = cnxprops or ConnectionProperties('inmemory')
         self.user = user
         self.repo = repo