Commits

Thomas Waldmann committed 1d680ca

determine user identity by itemid, not name

Comments (0)

Files changed (1)

 
     def is_current_user(self):
         """ Check if this user object is the user doing the current request """
-        return flaskg.user.name == self.name
+        return flaskg.user.itemid == self.itemid
 
     # Sessions ---------------------------------------------------