bundles/matrix-registration: fix bugs
This commit is contained in:
parent
c3701da258
commit
55f80b468e
2 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
server_location: 'http://localhost:20080'
|
server_location: 'http://[::1]:20080'
|
||||||
server_name: '${server_name}'
|
server_name: '${server_name}'
|
||||||
registration_shared_secret: '${reg_secret}'
|
registration_shared_secret: '${reg_secret}'
|
||||||
admin_api_shared_secret: '${admin_secret}'
|
admin_api_shared_secret: '${admin_secret}'
|
||||||
|
|
|
@ -39,9 +39,9 @@ files['/opt/matrix-registration/config.yaml'] = {
|
||||||
'context': {
|
'context': {
|
||||||
'admin_secret': node.metadata.get('matrix-registration/admin_secret'),
|
'admin_secret': node.metadata.get('matrix-registration/admin_secret'),
|
||||||
'base_url': node.metadata.get('matrix-registration/base_path', ''),
|
'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'),
|
'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'),
|
'server_name': node.metadata.get('matrix-synapse/server_name'),
|
||||||
},
|
},
|
||||||
'triggers': {
|
'triggers': {
|
||||||
|
|
Loading…
Reference in a new issue