diff options
author | Travis Ralston <travpc@gmail.com> | 2018-11-06 03:32:34 -0700 |
---|---|---|
committer | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-11-06 10:32:34 +0000 |
commit | 0f5e51f726756318f355d988856730a9930e2d2f (patch) | |
tree | f01b2b5e438f669497e24dad108b23cb4a81ba7c /synapse/handlers | |
parent | handle empty backups according to latest spec proposal (#4123) (diff) | |
download | synapse-0f5e51f726756318f355d988856730a9930e2d2f.tar.xz |
Add config variables for enabling terms auth and the policy name (#4142)
So people can still collect consent the old way if they want to.
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py index 85fc1fc525..a958c45271 100644 --- a/synapse/handlers/auth.py +++ b/synapse/handlers/auth.py @@ -472,7 +472,7 @@ class AuthHandler(BaseHandler): "privacy_policy": { "version": self.hs.config.user_consent_version, "en": { - "name": "Privacy Policy", + "name": self.hs.config.user_consent_policy_name, "url": "%s/_matrix/consent?v=%s" % ( self.hs.config.public_baseurl, self.hs.config.user_consent_version, |