summary refs log tree commit diff
path: root/develop/usage
diff options
context:
space:
mode:
authorsquahtx <squahtx@users.noreply.github.com>2022-05-27 11:08:04 +0000
committersquahtx <squahtx@users.noreply.github.com>2022-05-27 11:08:04 +0000
commitd9f700fe9b26b43bb83bbea4e706f02dbb64b4f1 (patch)
tree514d12a6e2fd1c14be748bbdf8524029e65ff5b4 /develop/usage
parentdeploy: 7b88f5a107ce9751365f9f2393521ef3d62afde8 (diff)
downloadsynapse-d9f700fe9b26b43bb83bbea4e706f02dbb64b4f1.tar.xz
deploy: 053ca5f3ca6b913d2c4bfdc7a77cb4657bc86d68
Diffstat (limited to 'develop/usage')
-rw-r--r--develop/usage/configuration/config_documentation.html5
-rw-r--r--develop/usage/configuration/homeserver_sample_config.html4
2 files changed, 7 insertions, 2 deletions
diff --git a/develop/usage/configuration/config_documentation.html b/develop/usage/configuration/config_documentation.html
index 9e5e68d172..8f2ea3668e 100644
--- a/develop/usage/configuration/config_documentation.html
+++ b/develop/usage/configuration/config_documentation.html
@@ -2594,7 +2594,10 @@ validation will fail without configuring audiences.</li>
 <p>Use this setting to enable password-based logins. </p>
 <p>This setting has the following sub-options:</p>
 <ul>
-<li><code>enabled</code>: Defaults to true.</li>
+<li><code>enabled</code>: Defaults to true.
+Set to false to disable password authentication.
+Set to <code>only_for_reauth</code> to allow users with existing passwords to use them
+to log in and reauthenticate, whilst preventing new users from setting passwords.</li>
 <li><code>localdb_enabled</code>: Set to false to disable authentication against the local password
 database. This is ignored if <code>enabled</code> is false, and is only useful
 if you have other <code>password_providers</code>. Defaults to true. </li>
diff --git a/develop/usage/configuration/homeserver_sample_config.html b/develop/usage/configuration/homeserver_sample_config.html
index 40e5fc205d..5055a21f3e 100644
--- a/develop/usage/configuration/homeserver_sample_config.html
+++ b/develop/usage/configuration/homeserver_sample_config.html
@@ -2372,7 +2372,9 @@ sso:
 
 
 password_config:
-   # Uncomment to disable password login
+   # Uncomment to disable password login.
+   # Set to `only_for_reauth` to permit reauthentication for users that
+   # have passwords and are already logged in.
    #
    #enabled: false