summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorTravis Ralston <travpc@gmail.com>2018-10-15 14:46:09 -0600
committerTravis Ralston <travpc@gmail.com>2018-10-15 14:46:09 -0600
commit762a0982aab04ebec1e7a00bc03d26aefa8461c4 (patch)
tree2a66acae40d8956e7f4a2be86d79452ed3d8abf2 /synapse
parentMerge branch 'develop' into travis/login-terms (diff)
downloadsynapse-762a0982aab04ebec1e7a00bc03d26aefa8461c4.tar.xz
Python is hard
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/auth.py11
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,),
+                    },
                 },
             },
         }