bundles/matrix-registration: fix bugs

This commit is contained in:
Franzi 2023-05-26 10:48:01 +02:00
parent c3701da258
commit 55f80b468e
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
server_location: 'http://localhost:20080'
server_location: 'http://[::1]:20080'
server_name: '${server_name}'
registration_shared_secret: '${reg_secret}'
admin_api_shared_secret: '${admin_secret}'

View file

@ -39,9 +39,9 @@ files['/opt/matrix-registration/config.yaml'] = {
'context': {
'admin_secret': node.metadata.get('matrix-registration/admin_secret'),
'base_url': node.metadata.get('matrix-registration/base_path', ''),
'client_redirect': node.metadata.get('matrix-registration/base_path'),
'client_redirect': node.metadata.get('matrix-registration/client_redirect'),
'database': node.metadata.get('matrix-registration/database'),
'reg_secret': '',
'reg_secret': node.metadata.get('matrix-synapse/registration_shared_secret'),
'server_name': node.metadata.get('matrix-synapse/server_name'),
},
'triggers': {