Don't log all auth events every time we call auth.check

pull/147/head
Erik Johnston 2015-05-01 14:34:20 +01:00
parent 3bcdf3664c
commit adb5b76ff5
1 changed files with 4 additions and 1 deletions

View File

@ -65,7 +65,10 @@ class Auth(object):
if event.type == EventTypes.Aliases:
return True
logger.debug("Auth events: %s", auth_events)
logger.debug(
"Auth events: %s",
[a.event_id for a in auth_events]
)
if event.type == EventTypes.Member:
allowed = self.is_membership_change_allowed(