forked from MirrorHub/synapse
Python is hard
This commit is contained in:
parent
f293d124b6
commit
762a0982aa
1 changed files with 6 additions and 5 deletions
|
@ -469,11 +469,12 @@ class AuthHandler(BaseHandler):
|
||||||
def _get_params_terms(self):
|
def _get_params_terms(self):
|
||||||
return {
|
return {
|
||||||
"policies": {
|
"policies": {
|
||||||
"privacy_policy": {
|
"privacy_policy": {
|
||||||
"version": self.hs.config.user_consent_version,
|
"version": self.hs.config.user_consent_version,
|
||||||
"en": {
|
"en": {
|
||||||
"name": "Privacy Policy",
|
"name": "Privacy Policy",
|
||||||
"url": "%s/_matrix/consent" % (self.hs.config.public_baseurl,),
|
"url": "%s/_matrix/consent" % (self.hs.config.public_baseurl,),
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue