summary refs log tree commit diff
path: root/synapse/handlers/auth.py
diff options
context:
space:
mode:
authorTravis Ralston <travpc@gmail.com>2018-10-03 17:50:11 -0600
committerTravis Ralston <travpc@gmail.com>2018-10-03 17:50:11 -0600
commit537d0b7b3632789e40cec13f3120151098f11d75 (patch)
tree4ad1a9e39ce67c43ccb191d5dbc453557ec84902 /synapse/handlers/auth.py
parentAuto-consent to the privacy policy if the user registered with terms (diff)
downloadsynapse-537d0b7b3632789e40cec13f3120151098f11d75.tar.xz
Use a flag rather than a new route for the public policy
This also means that the template now has optional parameters, which will need to be documented somehow.
Diffstat (limited to 'synapse/handlers/auth.py')
-rw-r--r--synapse/handlers/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py
index d6a19b74e9..42d1336d6e 100644
--- a/synapse/handlers/auth.py
+++ b/synapse/handlers/auth.py
@@ -471,7 +471,7 @@ class AuthHandler(BaseHandler):
             "policies": [{
                 "name": "Privacy Policy",
                 "version": self.hs.config.user_consent_version,
-                "url": "%s/_matrix/consent/public" % (self.hs.config.public_baseurl,),
+                "url": "%s/_matrix/consent?public=true" % (self.hs.config.public_baseurl,),
             }],
         }