summary refs log tree commit diff
path: root/synapse/api/auth.py
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-08-31 16:09:15 +0100
committerNeil Johnson <neil@matrix.org>2018-08-31 16:09:15 +0100
commite8e540630ec96d6ed856fb143dbb62b91e15084d (patch)
treec533e921e332d49e7e76795316b20cefcd416807 /synapse/api/auth.py
parenttypo (diff)
downloadsynapse-e8e540630ec96d6ed856fb143dbb62b91e15084d.tar.xz
fix reference to is_threepid_reserved
Diffstat (limited to '')
-rw-r--r--synapse/api/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index 6a97c06110..a36fb6b3bd 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -809,7 +809,7 @@ 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(threepid):
+                if self.store.is_threepid_reserved(threepid):
                     return
             # Else if there is no room in the MAU bucket, bail
             current_mau = yield self.store.get_monthly_active_count()