mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Update login terms structure for the proposed language support
This commit is contained in:
parent
5119818e9d
commit
dd99db846d
@ -468,11 +468,14 @@ class AuthHandler(BaseHandler):
|
|||||||
|
|
||||||
def _get_params_terms(self):
|
def _get_params_terms(self):
|
||||||
return {
|
return {
|
||||||
"policies": [{
|
"policies": {
|
||||||
"name": "Privacy Policy",
|
"privacy_policy": {
|
||||||
"version": self.hs.config.user_consent_version,
|
"version": self.hs.config.user_consent_version,
|
||||||
"url": "%s/_matrix/consent?public=true" % (self.hs.config.public_baseurl,),
|
"en": {
|
||||||
}],
|
"name": "Privacy Policy",
|
||||||
|
"url": "%s/_matrix/consent" % (self.hs.config.public_baseurl,),
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
def _auth_dict_for_flows(self, flows, session):
|
def _auth_dict_for_flows(self, flows, session):
|
||||||
|
Loading…
Reference in New Issue
Block a user