summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-05-21 14:55:15 +0100
committerGitHub <noreply@github.com>2019-05-21 14:55:15 +0100
commit6a5a70edf089ad60f597d9f808d4e728a7c4e9fe (patch)
treed2274ebd47356fcdee5629f5c1dce6713590020a /synapse/config
parentFix error handling for rooms whose versions are unknown. (#5219) (diff)
parentDoc (diff)
downloadsynapse-6a5a70edf089ad60f597d9f808d4e728a7c4e9fe.tar.xz
Merge pull request #5204 from matrix-org/babolivier/account_validity_expiration_date
Add startup background job for account validity
Diffstat (limited to 'synapse/config')
-rw-r--r--synapse/config/registration.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/synapse/config/registration.py b/synapse/config/registration.py
index 1309bce3ee..693288f938 100644
--- a/synapse/config/registration.py
+++ b/synapse/config/registration.py
@@ -123,6 +123,14 @@ class RegistrationConfig(Config):
         # link. ``%%(app)s`` can be used as a placeholder for the ``app_name`` parameter
         # from the ``email`` section.
         #
+        # Once this feature is enabled, Synapse will look for registered users without an
+        # expiration date at startup and will add one to every account it found using the
+        # current settings at that time.
+        # This means that, if a validity period is set, and Synapse is restarted (it will
+        # then derive an expiration date from the current validity period), and some time
+        # after that the validity period changes and Synapse is restarted, the users'
+        # expiration dates won't be updated unless their account is manually renewed.
+        #
         #account_validity:
         #  enabled: True
         #  period: 6w