summary refs log tree commit diff
path: root/docs/sample_config.yaml
diff options
context:
space:
mode:
authorRishabh Arya <rishabharya32@gmail.com>2021-02-18 19:48:14 +0530
committerGitHub <noreply@github.com>2021-02-18 09:18:14 -0500
commite17553e185aa6054b229524ac04a2743fe8c6fa9 (patch)
tree73134fca53629d233d3746c553cdf20edb675e2a /docs/sample_config.yaml
parentDeprecate old admin API `GET /_synapse/admin/v1/users/<user_id>` (#9429) (diff)
downloadsynapse-e17553e185aa6054b229524ac04a2743fe8c6fa9.tar.xz
Parse ui_auth.session_timeout as a duration (instead of treating it as ms) (#9426)
Diffstat (limited to 'docs/sample_config.yaml')
-rw-r--r--docs/sample_config.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
index 13a6f045f9..52380dfb04 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -2228,8 +2228,8 @@ password_config:
       #require_uppercase: true
 
 ui_auth:
-    # The number of milliseconds to allow a user-interactive authentication
-    # session to be active.
+    # The amount of time to allow a user-interactive authentication session
+    # to be active.
     #
     # This defaults to 0, meaning the user is queried for their credentials
     # before every action, but this can be overridden to allow a single
@@ -2240,7 +2240,7 @@ ui_auth:
     # Uncomment below to allow for credential validation to last for 15
     # seconds.
     #
-    #session_timeout: 15000
+    #session_timeout: "15s"
 
 
 # Configuration for sending emails from Synapse.