mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
deploy: 14ed84ac33
This commit is contained in:
parent
45b0fa51ca
commit
581e3ed50e
4 changed files with 22 additions and 20 deletions
|
@ -311,11 +311,12 @@ granting them access to the Admin API, among other things.</p>
|
|||
</li>
|
||||
<li>
|
||||
<p><code>deactivated</code> - <strong>bool</strong>, optional. If unspecified, deactivation state will be left unchanged.</p>
|
||||
<p>Note: the <code>password</code> field must also be set if both of the following are true:</p>
|
||||
<p>Note:</p>
|
||||
<ul>
|
||||
<li><code>deactivated</code> is set to <code>false</code> and the user was previously deactivated (you are reactivating this user)</li>
|
||||
<li>Users are allowed to set their password on this homeserver (both <code>password_config.enabled</code> and
|
||||
<code>password_config.localdb_enabled</code> config options are set to <code>true</code>).
|
||||
<li>For the password field there is no strict check of the necessity for its presence.
|
||||
It is possible to have active users without a password, e.g. when authenticating with OIDC is configured.
|
||||
You must check yourself whether a password is required when reactivating a user or not.</li>
|
||||
<li>It is not possible to set a password if the config option <code>password_config.localdb_enabled</code> is set <code>false</code>.
|
||||
Users' passwords are wiped upon account deactivation, hence the need to set a new one here.</li>
|
||||
</ul>
|
||||
<p>Note: a user cannot be erased with this API. For more details on
|
||||
|
|
|
@ -14264,11 +14264,12 @@ granting them access to the Admin API, among other things.</p>
|
|||
</li>
|
||||
<li>
|
||||
<p><code>deactivated</code> - <strong>bool</strong>, optional. If unspecified, deactivation state will be left unchanged.</p>
|
||||
<p>Note: the <code>password</code> field must also be set if both of the following are true:</p>
|
||||
<p>Note:</p>
|
||||
<ul>
|
||||
<li><code>deactivated</code> is set to <code>false</code> and the user was previously deactivated (you are reactivating this user)</li>
|
||||
<li>Users are allowed to set their password on this homeserver (both <code>password_config.enabled</code> and
|
||||
<code>password_config.localdb_enabled</code> config options are set to <code>true</code>).
|
||||
<li>For the password field there is no strict check of the necessity for its presence.
|
||||
It is possible to have active users without a password, e.g. when authenticating with OIDC is configured.
|
||||
You must check yourself whether a password is required when reactivating a user or not.</li>
|
||||
<li>It is not possible to set a password if the config option <code>password_config.localdb_enabled</code> is set <code>false</code>.
|
||||
Users' passwords are wiped upon account deactivation, hence the need to set a new one here.</li>
|
||||
</ul>
|
||||
<p>Note: a user cannot be erased with this API. For more details on
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue