summary refs log tree commit diff
path: root/docs/sample_config.yaml
diff options
context:
space:
mode:
authorBrendan Abolivier <contact@brendanabolivier.com>2019-04-09 17:02:41 +0100
committerGitHub <noreply@github.com>2019-04-09 17:02:41 +0100
commitbfc8fdf1fcd03808b54282a856bc33a856cc5add (patch)
tree7b31c6b90103e41c1d12500eb04a98e100a10f46 /docs/sample_config.yaml
parentMerge pull request #5030 from matrix-org/rav/rewrite_g_s_v_k (diff)
parentAdd account expiration feature (diff)
downloadsynapse-bfc8fdf1fcd03808b54282a856bc33a856cc5add.tar.xz
Merge pull request #5027 from matrix-org/babolivier/account_expiration
Add time-based account expiration
Diffstat (limited to 'docs/sample_config.yaml')
-rw-r--r--docs/sample_config.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
index a380b5f9a8..8888fd49c4 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -646,6 +646,12 @@ uploads_path: "DATADIR/uploads"
 #
 #enable_registration: false
 
+# Optional account validity parameter. This allows for, e.g., accounts to
+# be denied any request after a given period.
+#
+#account_validity:
+#  period: 6w
+
 # The user must provide all of the below types of 3PID when registering.
 #
 #registrations_require_3pid: