##// END OF EJS Templates
audit-logger: store some user details on we have proper object of auth-user.
marcink -
r1701:eddaabf9 default
parent child Browse files
Show More
@@ -121,7 +121,10 b' def store('
121 if not user_data:
121 if not user_data:
122 # try to get this from the auth user
122 # try to get this from the auth user
123 if isinstance(user, AuthUser):
123 if isinstance(user, AuthUser):
124 user_data = {}
124 user_data = {
125 'username': user.username,
126 'email': user.email,
127 }
125
128
126 repository_id = getattr(repo, 'repo_id', None)
129 repository_id = getattr(repo, 'repo_id', None)
127 repository_name = getattr(repo, 'repo_name', None)
130 repository_name = getattr(repo, 'repo_name', None)
General Comments 0
You need to be logged in to leave comments. Login now