diff options
author | Neil Johnson <neil@matrix.org> | 2018-08-17 13:58:40 +0100 |
---|---|---|
committer | Neil Johnson <neil@matrix.org> | 2018-08-17 13:58:40 +0100 |
commit | 9fd161c6fb93d2ab2d297e5190e1faaebbd7c892 (patch) | |
tree | f0439ed7a668a2b0d627b78aaab25b03a2fb6514 /synapse/api/auth.py | |
parent | server limits config docs (diff) | |
parent | Merge branch 'develop' into neilj/limit_exceeded_error (diff) | |
download | synapse-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/auth.py')
-rw-r--r-- | synapse/api/auth.py | 3 |
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" |