summary refs log tree commit diff
path: root/synapse/api/auth.py
diff options
context:
space:
mode:
authorNeil Johnson <neil@fragile.org.uk>2018-08-06 18:01:46 +0100
committerNeil Johnson <neil@fragile.org.uk>2018-08-06 18:01:46 +0100
commit1911c037cbace498c0827eb5abe6ed3f64acb671 (patch)
tree6eda498e4e71d3fce9c21147b9da559d34dcaefe /synapse/api/auth.py
parentmake use of _simple_select_one_onecol, improved comments (diff)
downloadsynapse-1911c037cbace498c0827eb5abe6ed3f64acb671.tar.xz
update comments to reflect new sig
Diffstat (limited to '')
-rw-r--r--synapse/api/auth.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index d8ebbbc6e8..91b23ff1d7 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -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.limit_usage_by_mau is True:
             current_mau = yield self.store.get_monthly_active_count()
             if current_mau >= self.hs.config.max_mau_value: