diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-04-14 14:06:25 +0200 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2022-04-14 14:13:47 +0200 |
commit | 82f1344d334431877cf84fc00b76563a48f01c5a (patch) | |
tree | c5ae99eb46a1b62828ddb93a909bbb86d7a5bc0c /config | |
parent | e827e0a14061a08eb6009e3fa222c2e66a4ffaf6 (diff) | |
download | nextcloud-server-82f1344d334431877cf84fc00b76563a48f01c5a.tar.gz nextcloud-server-82f1344d334431877cf84fc00b76563a48f01c5a.zip |
Adjust settings for mail link password
Rename the settings and invert the meaning.
Increase default interval to one hour.
Changed the interval to be a number of seconds, to align with other
setting styles.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index 4d8dcfa5660..41c3f0bf20a 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -1541,6 +1541,18 @@ $CONFIG = [ 'sharing.managerFactory' => '\OC\Share20\ProviderFactory', /** + * Enables expiration for link share passwords sent by email (sharebymail). + * The passwords will expire after the configured interval, the users can + * still request a new one in the public link page. + */ +'sharing.enable_mail_link_password_expiration' => false, + +/** + * Expiration interval for passwords, in seconds. + */ +'sharing.mail_link_password_expiration_interval' => 3600, + +/** * Define max number of results returned by the search for auto-completion of * users, groups, etc. The value must not be lower than 0 (for unlimited). * |