summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/auth.py
diff options
context:
space:
mode:
authorTravis Ralston <travpc@gmail.com>2018-10-12 17:54:28 -0600
committerTravis Ralston <travpc@gmail.com>2018-10-12 18:03:17 -0600
commit5119818e9d7dac97854868af102476df57f599e5 (patch)
treec86c84254f532200e24e89d8287d22e71f193548 /synapse/rest/client/v2_alpha/auth.py
parentUpdate documentation and templates for new consent (diff)
downloadsynapse-5119818e9d7dac97854868af102476df57f599e5.tar.xz
Rely on the lack of ?u to represent public access
also general cleanup
Diffstat (limited to 'synapse/rest/client/v2_alpha/auth.py')
-rw-r--r--synapse/rest/client/v2_alpha/auth.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/client/v2_alpha/auth.py b/synapse/rest/client/v2_alpha/auth.py
index 77a5ea66f3..ec583ad16a 100644
--- a/synapse/rest/client/v2_alpha/auth.py
+++ b/synapse/rest/client/v2_alpha/auth.py
@@ -164,7 +164,7 @@ class AuthRestServlet(RestServlet):
 
             html = TERMS_TEMPLATE % {
                 'session': session,
-                'terms_url': "%s/_matrix/consent?public=true" % (
+                'terms_url': "%s/_matrix/consent" % (
                     self.hs.config.public_baseurl,
                 ),
                 'myurl': "%s/auth/%s/fallback/web" % (
@@ -244,7 +244,7 @@ class AuthRestServlet(RestServlet):
             else:
                 html = TERMS_TEMPLATE % {
                     'session': session,
-                    'terms_url': "%s/_matrix/consent?public=true" % (
+                    'terms_url': "%s/_matrix/consent" % (
                         self.hs.config.public_baseurl,
                     ),
                     'myurl': "%s/auth/%s/fallback/web" % (