diff options
author | Neil Johnson <neil@matrix.org> | 2018-07-31 13:16:20 +0100 |
---|---|---|
committer | Neil Johnson <neil@matrix.org> | 2018-07-31 13:16:20 +0100 |
commit | df2235e7fab44a5155134a336a4c27424398c1be (patch) | |
tree | 6b16bfbf7f05e477f396a220f62fbdc8a8bfc092 /synapse/handlers | |
parent | fix user_ips counting (diff) | |
download | synapse-df2235e7fab44a5155134a336a4c27424398c1be.tar.xz |
coding style
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/auth.py | 3 |
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): |