mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 13:46:02 -04:00
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.
This commit is contained in:
parent
f9d34a763c
commit
537d0b7b36
3 changed files with 25 additions and 17 deletions
|
@ -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,),
|
||||
}],
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue