diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-04-13 17:11:15 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2022-04-13 17:11:15 +0300 |
commit | 2c2b238008f82a39ac54ac651ff2a90443d8d821 (patch) | |
tree | 98985fdfbddcfafd6018b0d98eda8d70ab35f445 /lib/private | |
parent | f5c8fa4f11b70d84c593c6102f3100a94310fa34 (diff) |
Default to permanent link passwords
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Share20/Manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index a5d876e8015..191b59d2b88 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -1175,7 +1175,7 @@ class Manager implements IManager { * Set the share's password expiration time */ private function setSharePasswordExpirationTime(IShare $share): void { - if ($this->config->getSystemValue('allow_mail_share_permanent_password')) { + if ($this->config->getSystemValue('allow_mail_share_permanent_password', true)) { // Sets password expiration date to NULL $share->setPasswordExpirationTime(); return; |