summary refs log tree commit diff
path: root/synapse/handlers/auth.py
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-07-31 13:16:20 +0100
committerNeil Johnson <neil@matrix.org>2018-07-31 13:16:20 +0100
commitdf2235e7fab44a5155134a336a4c27424398c1be (patch)
tree6b16bfbf7f05e477f396a220f62fbdc8a8bfc092 /synapse/handlers/auth.py
parentfix user_ips counting (diff)
downloadsynapse-df2235e7fab44a5155134a336a4c27424398c1be.tar.xz
coding style
Diffstat (limited to 'synapse/handlers/auth.py')
-rw-r--r--synapse/handlers/auth.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py
index f3734f11bd..28f1c1afbb 100644
--- a/synapse/handlers/auth.py
+++ b/synapse/handlers/auth.py
@@ -903,9 +903,10 @@ class AuthHandler(BaseHandler):
             current_mau = self.store.count_monthly_users()
             if current_mau >= self.hs.config.max_mau_value:
                 raise AuthError(
-                        403, "MAU Limit Exceeded", errcode=Codes.MAU_LIMIT_EXCEEDED
+                    403, "MAU Limit Exceeded", errcode=Codes.MAU_LIMIT_EXCEEDED
                 )
 
+
 @attr.s
 class MacaroonGenerator(object):