summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-08-17 13:58:40 +0100
committerNeil Johnson <neil@matrix.org>2018-08-17 13:58:40 +0100
commit9fd161c6fb93d2ab2d297e5190e1faaebbd7c892 (patch)
treef0439ed7a668a2b0d627b78aaab25b03a2fb6514 /synapse/api
parentserver limits config docs (diff)
parentMerge branch 'develop' into neilj/limit_exceeded_error (diff)
downloadsynapse-9fd161c6fb93d2ab2d297e5190e1faaebbd7c892.tar.xz
Merge branch 'neilj/limit_exceeded_error' of github.com:matrix-org/synapse into neilj/limit_exceeded_error
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/auth.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index 6945c118d3..022211e34e 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -800,7 +800,8 @@ class Auth(object):
             current_mau = yield self.store.get_monthly_active_count()
             if current_mau >= self.hs.config.max_mau_value:
                 raise ResourceLimitError(
-                    403, "Monthly Active User Limits AU Limit Exceeded",
+                    403, "Monthly Active User Limit Exceeded",
+
                     admin_uri=self.hs.config.admin_uri,
                     errcode=Codes.RESOURCE_LIMIT_EXCEED,
                     limit_type="monthly_active_user"