0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-30 00:18:22 +02:00

Merge branch 'neilj/mau_tracker' of github.com:matrix-org/synapse into neilj/disable_hs

This commit is contained in:
Neil Johnson 2018-08-06 21:39:44 +01:00
commit 7bcf126b18

View file

@ -778,10 +778,7 @@ class Auth(object):
def check_auth_blocking(self):
"""Checks if the user should be rejected for some external reason,
such as monthly active user limiting or global disable flag
Args:
error (Error): The error that should be raised if user is to be
blocked
"""
"""
if self.hs.config.hs_disabled:
raise AuthError(
403, self.hs.config.hs_disabled_message, errcode=Codes.HS_DISABLED