diff options
author | Erik Johnston <erikj@jki.re> | 2018-08-24 17:15:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-24 17:15:32 +0100 |
commit | 9fbaed325f7e3ed4edff25636043b885b1cf388d (patch) | |
tree | 5eb84f8afc267ba3af4199e3da3f9a4d17bbdb0b /synapse/api/auth.py | |
parent | Merge pull request #3756 from matrix-org/erikj/fix_tags_server_notices (diff) | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/admin_contact (diff) | |
download | synapse-9fbaed325f7e3ed4edff25636043b885b1cf388d.tar.xz |
Merge pull request #3758 from matrix-org/erikj/admin_contact hhs-3
Change admin_uri to admin_contact in config and errors
Diffstat (limited to 'synapse/api/auth.py')
-rw-r--r-- | synapse/api/auth.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py index 8d2aa5870a..a7e3f7a7ac 100644 --- a/synapse/api/auth.py +++ b/synapse/api/auth.py @@ -793,7 +793,7 @@ class Auth(object): raise ResourceLimitError( 403, self.hs.config.hs_disabled_message, errcode=Codes.RESOURCE_LIMIT_EXCEEDED, - admin_uri=self.hs.config.admin_uri, + admin_contact=self.hs.config.admin_contact, limit_type=self.hs.config.hs_disabled_limit_type ) if self.hs.config.limit_usage_by_mau is True: @@ -812,7 +812,7 @@ class Auth(object): raise ResourceLimitError( 403, "Monthly Active User Limit Exceeded", - admin_uri=self.hs.config.admin_uri, + admin_contact=self.hs.config.admin_contact, errcode=Codes.RESOURCE_LIMIT_EXCEEDED, limit_type="monthly_active_user" ) |