diff options
Diffstat (limited to 'dendrite')
| -rw-r--r-- | dendrite/server/tasks/main.yaml | 2 | ||||
| -rw-r--r-- | dendrite/server/templates/dendrite.yaml.j2 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dendrite/server/tasks/main.yaml b/dendrite/server/tasks/main.yaml index 03ac50a..4028809 100644 --- a/dendrite/server/tasks/main.yaml +++ b/dendrite/server/tasks/main.yaml @@ -87,7 +87,7 @@ template: src: "dendrite.yaml.j2" dest: "{{dendrite_dir}}/{{dendrite_instance}}/dendrite.yaml" - mode: "0644" + mode: "0600" owner: "{{dendrite_user}}" group: "{{dendrite_user}}" notify: reload service diff --git a/dendrite/server/templates/dendrite.yaml.j2 b/dendrite/server/templates/dendrite.yaml.j2 index 00d67b4..bd03718 100644 --- a/dendrite/server/templates/dendrite.yaml.j2 +++ b/dendrite/server/templates/dendrite.yaml.j2 @@ -147,7 +147,7 @@ client_api: # If set, allows registration by anyone who knows the shared secret, regardless of # whether registration is otherwise disabled. - registration_shared_secret: "" + registration_shared_secret: "{{dendrite_registration_secret}}" # Whether to require reCAPTCHA for registration. enable_registration_captcha: false |
