fix reference to is_threepid_reserved

This commit is contained in:
Neil Johnson 2018-08-31 16:09:15 +01:00
parent a796bdd35e
commit e8e540630e

View File

@ -809,7 +809,7 @@ class Auth(object):
elif threepid: elif threepid:
# If the user does not exist yet, but is signing up with a # If the user does not exist yet, but is signing up with a
# reserved threepid then pass auth check # reserved threepid then pass auth check
if is_threepid_reserved(threepid): if self.store.is_threepid_reserved(threepid):
return return
# Else if there is no room in the MAU bucket, bail # Else if there is no room in the MAU bucket, bail
current_mau = yield self.store.get_monthly_active_count() current_mau = yield self.store.get_monthly_active_count()