src.nth.io/

summaryrefslogtreecommitdiff
path: root/dendrite
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2021-07-24 08:50:40 -0500
committerLuke Hoersten <[email protected]>2021-07-24 08:50:40 -0500
commite5a678b7856a1d1e76ebb376d3e6372e8973f7d1 (patch)
tree8cbc4a4e1e0c490f0be99dad3c279086fcc7ff47 /dendrite
parent4da09e0dc85dbdc7d089c86189e8799bf5a5741e (diff)
Minor dendrite tweaks.
Diffstat (limited to 'dendrite')
-rw-r--r--dendrite/server/tasks/main.yaml2
-rw-r--r--dendrite/server/templates/dendrite.yaml.j22
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