summary refs log tree commit diff
path: root/synapse/handlers/auth.py
diff options
context:
space:
mode:
authorTravis Ralston <travpc@gmail.com>2018-10-31 13:19:28 -0600
committerTravis Ralston <travpc@gmail.com>2018-10-31 13:19:28 -0600
commita8d41c6aff0e58fc24fae1fe4ae89d28541a63cb (patch)
treeaf0eb4ef2928ab103a18153a15613016d9743974 /synapse/handlers/auth.py
parentMerge branch 'develop' into travis/login-terms (diff)
downloadsynapse-a8d41c6aff0e58fc24fae1fe4ae89d28541a63cb.tar.xz
Include a version query string arg for the consent route
Diffstat (limited to 'synapse/handlers/auth.py')
-rw-r--r--synapse/handlers/auth.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py
index d143522d9a..85fc1fc525 100644
--- a/synapse/handlers/auth.py
+++ b/synapse/handlers/auth.py
@@ -473,7 +473,10 @@ class AuthHandler(BaseHandler):
                     "version": self.hs.config.user_consent_version,
                     "en": {
                         "name": "Privacy Policy",
-                        "url": "%s/_matrix/consent" % (self.hs.config.public_baseurl,),
+                        "url": "%s/_matrix/consent?v=%s" % (
+                            self.hs.config.public_baseurl,
+                            self.hs.config.user_consent_version,
+                        ),
                     },
                 },
             },