diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-04-13 18:20:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-13 18:20:58 +0200 |
commit | 964bc57eed6cb943aa19468ec679549496453ec9 (patch) | |
tree | 98985fdfbddcfafd6018b0d98eda8d70ab35f445 /apps/sharebymail | |
parent | cd95fce105fe5f0e71b1bcac7685464f936b9749 (diff) | |
parent | 2c2b238008f82a39ac54ac651ff2a90443d8d821 (diff) | |
download | nextcloud-server-964bc57eed6cb943aa19468ec679549496453ec9.tar.gz nextcloud-server-964bc57eed6cb943aa19468ec679549496453ec9.zip |
Merge pull request #31965 from nextcloud/bugfix/31951/fix-share-by-mail-expiration-reset
Properly reset pw expiration
Diffstat (limited to 'apps/sharebymail')
-rw-r--r-- | apps/sharebymail/lib/ShareByMailProvider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/sharebymail/lib/ShareByMailProvider.php b/apps/sharebymail/lib/ShareByMailProvider.php index 1e767b7f859..70af8d0c746 100644 --- a/apps/sharebymail/lib/ShareByMailProvider.php +++ b/apps/sharebymail/lib/ShareByMailProvider.php @@ -198,7 +198,7 @@ class ShareByMailProvider implements IShareProvider { // Sends share password to receiver when it's a permanent one (otherwise she will have to request it via the showShare UI) // or to owner when the password shall be given during a Talk session - if ($this->config->getSystemValue('allow_mail_share_permanent_password') || $share->getSendPasswordByTalk()) { + if ($this->config->getSystemValue('allow_mail_share_permanent_password', true) || $share->getSendPasswordByTalk()) { $send = $this->sendPassword($share, $password); if ($passwordEnforced && $send === false) { $this->sendPasswordToOwner($share, $password); |