diff options
author | richvdh <richvdh@users.noreply.github.com> | 2022-08-25 16:28:25 +0000 |
---|---|---|
committer | richvdh <richvdh@users.noreply.github.com> | 2022-08-25 16:28:25 +0000 |
commit | 6a0e2088fbffa579b04a484873ca134409f5bdac (patch) | |
tree | 964322890da2281e17f46c7af3d8f75b947f63b3 /develop/print.html | |
parent | deploy: a25a37002c851ef419d12925a11dd8bf2233470e (diff) | |
download | synapse-6a0e2088fbffa579b04a484873ca134409f5bdac.tar.xz |
deploy: d092e6f32a1a3d79337774746720a73762a35e8e
Diffstat (limited to 'develop/print.html')
-rw-r--r-- | develop/print.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/develop/print.html b/develop/print.html index 53a901a037..a0b5c9f294 100644 --- a/develop/print.html +++ b/develop/print.html @@ -4904,10 +4904,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="usage/configuration/config_documentation.html#registration_shared_secret_path"><code>registration_shared_secret_path</code></a>.</p> <p>Example configuration:</p> <pre><code class="language-yaml">registration_shared_secret: <PRIVATE STRING> </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="usage/configuration/config_documentation.html#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. |