Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-04-14 18:51:13 +0300
committerGitHub <noreply@github.com>2022-04-14 18:51:13 +0300
commit396db12e8e97af033cff6dc0adaf13ee78ec5c3b (patch)
treee4be97be3aebb56e9d7f177361eeec71e6dbaee0 /config/config.sample.php
parent0824f440f0007bdf1665e4a8d5b9fc482e235e9f (diff)
parent82f1344d334431877cf84fc00b76563a48f01c5a (diff)
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.php12
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).
*