summary refs log tree commit diff
path: root/synapse/api/auth.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-01-24 15:51:59 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2019-01-24 15:51:59 +0000
commit08e25ffa0cbbaee0a092f95648b4529ff081d56f (patch)
tree193be1b1dd6f0c7d628ee99b14cfec413685b9f9 /synapse/api/auth.py
parentMerge branch 'anoa/room_dir_quick_fix' into matrix-org-hotfixes (diff)
parentMerge pull request #4461 from matrix-org/anoa/room_dir_quick_fix (diff)
downloadsynapse-08e25ffa0cbbaee0a092f95648b4529ff081d56f.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
Diffstat (limited to 'synapse/api/auth.py')
-rw-r--r--synapse/api/auth.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py

index ba1019b9b2..e37b807c94 100644 --- a/synapse/api/auth.py +++ b/synapse/api/auth.py
@@ -819,7 +819,9 @@ class Auth(object): elif threepid: # If the user does not exist yet, but is signing up with a # reserved threepid then pass auth check - if is_threepid_reserved(self.hs.config, threepid): + if is_threepid_reserved( + self.hs.config.mau_limits_reserved_threepids, threepid + ): return # Else if there is no room in the MAU bucket, bail current_mau = yield self.store.get_monthly_active_count()