diff options
author | Travis Ralston <travpc@gmail.com> | 2018-10-15 14:46:09 -0600 |
---|---|---|
committer | Travis Ralston <travpc@gmail.com> | 2018-10-15 14:46:09 -0600 |
commit | 762a0982aab04ebec1e7a00bc03d26aefa8461c4 (patch) | |
tree | 2a66acae40d8956e7f4a2be86d79452ed3d8abf2 /synapse/handlers/auth.py | |
parent | Merge branch 'develop' into travis/login-terms (diff) | |
download | synapse-762a0982aab04ebec1e7a00bc03d26aefa8461c4.tar.xz |
Python is hard
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/auth.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py index 9038fee264..f1befeb575 100644 --- a/synapse/handlers/auth.py +++ b/synapse/handlers/auth.py @@ -469,11 +469,12 @@ class AuthHandler(BaseHandler): def _get_params_terms(self): return { "policies": { - "privacy_policy": { - "version": self.hs.config.user_consent_version, - "en": { - "name": "Privacy Policy", - "url": "%s/_matrix/consent" % (self.hs.config.public_baseurl,), + "privacy_policy": { + "version": self.hs.config.user_consent_version, + "en": { + "name": "Privacy Policy", + "url": "%s/_matrix/consent" % (self.hs.config.public_baseurl,), + }, }, }, } |