mirror of
https://github.com/element-hq/synapse
synced 2024-08-18 22:40:51 +00:00
deploy: d092e6f32a
This commit is contained in:
parent
9a621fdaa0
commit
6a0e2088fb
4 changed files with 22 additions and 2 deletions
|
@ -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.
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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: <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="#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.
|
||||
|
|
Loading…
Reference in a new issue