mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 13:46:02 -04:00
Add config variables for enabling terms auth and the policy name (#4142)
So people can still collect consent the old way if they want to.
This commit is contained in:
parent
f1087106cf
commit
0f5e51f726
10 changed files with 65 additions and 11 deletions
|
@ -472,7 +472,7 @@ class AuthHandler(BaseHandler):
|
|||
"privacy_policy": {
|
||||
"version": self.hs.config.user_consent_version,
|
||||
"en": {
|
||||
"name": "Privacy Policy",
|
||||
"name": self.hs.config.user_consent_policy_name,
|
||||
"url": "%s/_matrix/consent?v=%s" % (
|
||||
self.hs.config.public_baseurl,
|
||||
self.hs.config.user_consent_version,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue