# HG changeset patch # User Luke Hoersten # Date 1627134640 18000 # Node ID 8e61e4bb714b22399e844b5b55c8bc520be33a43 # Parent e3c49bf5fae937bb69249c63adf4133b6dbe7ef4 Minor dendrite tweaks. diff -r e3c49bf5fae9 -r 8e61e4bb714b dendrite/server/tasks/main.yaml --- a/dendrite/server/tasks/main.yaml Mon Jul 19 21:15:42 2021 -0500 +++ b/dendrite/server/tasks/main.yaml Sat Jul 24 08:50:40 2021 -0500 @@ -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 -r e3c49bf5fae9 -r 8e61e4bb714b dendrite/server/templates/dendrite.yaml.j2 --- a/dendrite/server/templates/dendrite.yaml.j2 Mon Jul 19 21:15:42 2021 -0500 +++ b/dendrite/server/templates/dendrite.yaml.j2 Sat Jul 24 08:50:40 2021 -0500 @@ -147,7 +147,7 @@ # 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