mirror of
https://github.com/element-hq/synapse
synced 2024-09-11 13:35:13 +00:00
Don't log all auth events every time we call auth.check
This commit is contained in:
parent
3bcdf3664c
commit
adb5b76ff5
1 changed files with 4 additions and 1 deletions
|
@ -65,7 +65,10 @@ class Auth(object):
|
||||||
if event.type == EventTypes.Aliases:
|
if event.type == EventTypes.Aliases:
|
||||||
return True
|
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:
|
if event.type == EventTypes.Member:
|
||||||
allowed = self.is_membership_change_allowed(
|
allowed = self.is_membership_change_allowed(
|
||||||
|
|
Loading…
Reference in a new issue