From e5a678b7856a1d1e76ebb376d3e6372e8973f7d1 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sat, 24 Jul 2021 08:50:40 -0500 Subject: Minor dendrite tweaks. --- dendrite/server/tasks/main.yaml | 2 +- dendrite/server/templates/dendrite.yaml.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'dendrite') 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 -- cgit v1.2.3