summary refs log tree commit diff
path: root/develop/usage/configuration/config_documentation.html
diff options
context:
space:
mode:
authorrichvdh <richvdh@users.noreply.github.com>2022-08-25 16:28:25 +0000
committerrichvdh <richvdh@users.noreply.github.com>2022-08-25 16:28:25 +0000
commit6a0e2088fbffa579b04a484873ca134409f5bdac (patch)
tree964322890da2281e17f46c7af3d8f75b947f63b3 /develop/usage/configuration/config_documentation.html
parentdeploy: a25a37002c851ef419d12925a11dd8bf2233470e (diff)
downloadsynapse-6a0e2088fbffa579b04a484873ca134409f5bdac.tar.xz
deploy: d092e6f32a1a3d79337774746720a73762a35e8e
Diffstat (limited to 'develop/usage/configuration/config_documentation.html')
-rw-r--r--develop/usage/configuration/config_documentation.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/develop/usage/configuration/config_documentation.html b/develop/usage/configuration/config_documentation.html

index 3fcca7702e..ab3cb325ed 100644 --- a/develop/usage/configuration/config_documentation.html +++ b/develop/usage/configuration/config_documentation.html
@@ -1889,10 +1889,20 @@ Defaults to false. Set to true to enable.</p> <h3 id="registration_shared_secret"><a class="header" href="#registration_shared_secret"><code>registration_shared_secret</code></a></h3> <p>If set, allows registration of standard or admin accounts by anyone who has the shared secret, even if registration is otherwise disabled.</p> +<p>See also <a href="#registration_shared_secret_path"><code>registration_shared_secret_path</code></a>.</p> <p>Example configuration:</p> <pre><code class="language-yaml">registration_shared_secret: &lt;PRIVATE STRING&gt; </code></pre> <hr /> +<h3 id="registration_shared_secret_path"><a class="header" href="#registration_shared_secret_path"><code>registration_shared_secret_path</code></a></h3> +<p>An alternative to <a href="#registration_shared_secret"><code>registration_shared_secret</code></a>: +allows the shared secret to be specified in an external file.</p> +<p>The file should be a plain text file, containing only the shared secret.</p> +<p>Example configuration:</p> +<pre><code class="language-yaml">registration_shared_secret_file: /path/to/secrets/file +</code></pre> +<p><em>Added in Synapse 1.67.0.</em></p> +<hr /> <h3 id="bcrypt_rounds"><a class="header" href="#bcrypt_rounds"><code>bcrypt_rounds</code></a></h3> <p>Set the number of bcrypt rounds used to generate password hash. Larger numbers increase the work factor needed to generate the hash.