diff options
author | Travis Ralston <travpc@gmail.com> | 2018-10-12 17:54:28 -0600 |
---|---|---|
committer | Travis Ralston <travpc@gmail.com> | 2018-10-12 18:03:17 -0600 |
commit | 5119818e9d7dac97854868af102476df57f599e5 (patch) | |
tree | c86c84254f532200e24e89d8287d22e71f193548 /synapse/rest/client | |
parent | Update documentation and templates for new consent (diff) | |
download | synapse-5119818e9d7dac97854868af102476df57f599e5.tar.xz |
Rely on the lack of ?u to represent public access
also general cleanup
Diffstat (limited to 'synapse/rest/client')
-rw-r--r-- | synapse/rest/client/v2_alpha/auth.py | 4 |
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" % ( |