##// END OF EJS Templates
events: fix wrongly returned author data.
marcink -
r1466:c2d5cf61 default
parent child Browse files
Show More
@@ -56,12 +56,14 b' class RhodecodeEvent(object):'
56 56 @property
57 57 def actor(self):
58 58 auth_user = self.auth_user
59
59 60 if auth_user:
60 61 instance = auth_user.get_instance()
61 62 if not instance:
62 63 return AttributeDict(dict(
63 64 username=auth_user.username
64 65 ))
66 return instance
65 67
66 68 return SYSTEM_USER
67 69
General Comments 0
You need to be logged in to leave comments. Login now