mirror of
https://github.com/element-hq/synapse.git
synced 2026-08-02 00:30:08 +00:00
deploy: 96c556081a
This commit is contained in:
@@ -815,20 +815,24 @@ shown.</p>
|
||||
</code></pre>
|
||||
<hr />
|
||||
<h3 id="user_types"><a class="header" href="#user_types"><code>user_types</code></a></h3>
|
||||
<p>Configuration settings related to the user types feature.</p>
|
||||
<p><em>(object)</em> Configuration settings related to the user types feature.</p>
|
||||
<p>This setting has the following sub-options:</p>
|
||||
<ul>
|
||||
<li><code>default_user_type</code>: The default user type to use for registering new users when no value has been specified.
|
||||
Defaults to none.</li>
|
||||
<li><code>extra_user_types</code>: Array of additional user types to allow. These are treated as real users. Defaults to [].</li>
|
||||
<li>
|
||||
<p><code>default_user_type</code> (string|null): The default user type to use for registering new users when no value has been specified. Defaults to none. Defaults to <code>null</code>.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><code>extra_user_types</code> (list): Array of additional user types to allow. These are treated as real users. Defaults to <code>[]</code>.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<p>Example configuration:</p>
|
||||
<pre><code class="language-yaml">user_types:
|
||||
default_user_type: "custom"
|
||||
extra_user_types:
|
||||
- "custom"
|
||||
- "custom2"
|
||||
default_user_type: custom
|
||||
extra_user_types:
|
||||
- custom
|
||||
- custom2
|
||||
</code></pre>
|
||||
<hr />
|
||||
<h2 id="homeserver-blocking"><a class="header" href="#homeserver-blocking">Homeserver blocking</a></h2>
|
||||
<p>Useful options for Synapse admins.</p>
|
||||
<hr />
|
||||
|
||||
Reference in New Issue
Block a user