summary refs log tree commit diff
path: root/synapse/api/auth.py
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-08-17 12:42:59 +0000
committerGitHub <noreply@github.com>2018-08-17 12:42:59 +0000
commita2d872e7b3770c454569d838bf1bb92115d9f32a (patch)
tree34c1b42c256987be5e0b56139a3da75d1f69ae8c /synapse/api/auth.py
parentMerge pull request #3712 from matrix-org/travis/register-admin-docs (diff)
parentremove errant yield (diff)
downloadsynapse-a2d872e7b3770c454569d838bf1bb92115d9f32a.tar.xz
Merge pull request #3708 from matrix-org/neilj/resource_Limit_block_event_creation
Neilj/resource limit block event creation
Diffstat (limited to 'synapse/api/auth.py')
-rw-r--r--synapse/api/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index 3b2a2ab77a..ab1e3a4e35 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -799,7 +799,7 @@ class Auth(object):
             current_mau = yield self.store.get_monthly_active_count()
             if current_mau >= self.hs.config.max_mau_value:
                 raise AuthError(
-                    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
                 )