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
path: root/config
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-04-14 15:06:25 +0300
committerVincent Petry <vincent@nextcloud.com>2022-04-14 15:13:47 +0300
commit82f1344d334431877cf84fc00b76563a48f01c5a (patch)
treec5ae99eb46a1b62828ddb93a909bbb86d7a5bc0c /config
parente827e0a14061a08eb6009e3fa222c2e66a4ffaf6 (diff)
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.php12
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).
*