mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-07-29 09:28:58 -04:00
Rely on the lack of ?u to represent public access
also general cleanup
This commit is contained in:
parent
22a2004428
commit
5119818e9d
2 changed files with 6 additions and 10 deletions
|
@ -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" % (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue