mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 05:36:05 +00:00
update comments to reflect new sig
This commit is contained in:
parent
16d78be315
commit
1911c037cb
@ -778,9 +778,6 @@ class Auth(object):
|
|||||||
def check_auth_blocking(self):
|
def check_auth_blocking(self):
|
||||||
"""Checks if the user should be rejected for some external reason,
|
"""Checks if the user should be rejected for some external reason,
|
||||||
such as monthly active user limiting or global disable flag
|
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.limit_usage_by_mau is True:
|
if self.hs.config.limit_usage_by_mau is True:
|
||||||
current_mau = yield self.store.get_monthly_active_count()
|
current_mau = yield self.store.get_monthly_active_count()
|
||||||
|
Loading…
Reference in New Issue
Block a user