Config and changelog

pull/5276/head
Brendan Abolivier 2019-05-28 16:55:10 +01:00
parent 52839886d6
commit 4aba561c65
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD
2 changed files with 8 additions and 0 deletions

1
changelog.d/5276.feature Normal file
View File

@ -0,0 +1 @@
Allow configuring a range for the account validity startup job.

View File

@ -755,11 +755,18 @@ uploads_path: "DATADIR/uploads"
# after that the validity period changes and Synapse is restarted, the users'
# expiration dates won't be updated unless their account is manually renewed.
#
# If set, the ``startup_job_max_delta`` optional setting will make the startup job
# described above set a random expiration date between t + period and
# t + period + startup_job_max_delta, t being the date and time at which the job
# sets the expiration date for a given user. This is useful for server admins that
# want to avoid Synapse sending a lot of renewal emails at once.
#
#account_validity:
# enabled: True
# period: 6w
# renew_at: 1w
# renew_email_subject: "Renew your %(app)s account"
# startup_job_max_delta: 2d
# The user must provide all of the below types of 3PID when registering.
#