diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-04-14 17:51:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-14 17:51:13 +0200 |
commit | 396db12e8e97af033cff6dc0adaf13ee78ec5c3b (patch) | |
tree | e4be97be3aebb56e9d7f177361eeec71e6dbaee0 /config/config.sample.php | |
parent | 0824f440f0007bdf1665e4a8d5b9fc482e235e9f (diff) | |
parent | 82f1344d334431877cf84fc00b76563a48f01c5a (diff) | |
download | nextcloud-server-396db12e8e97af033cff6dc0adaf13ee78ec5c3b.tar.gz nextcloud-server-396db12e8e97af033cff6dc0adaf13ee78ec5c3b.zip |
Merge pull request #31975 from nextcloud/bugfix/31952/fix-mail-link-share-password-expiration-settings
Adjust settings for mail link password
Diffstat (limited to 'config/config.sample.php')
-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 378d88168cd..54d3d46070a 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). * |