diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-11-14 04:55:22 +0300 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2019-12-11 14:40:17 +0300 |
commit | b73faad2a1890a9f9154cc8f7dcd18c489c5fd0c (patch) | |
tree | 68e6e10228dc3a21227910640b1d0e7d5fcf0160 /lib | |
parent | cdd0e4d3ad072c76604fbd2a1fdcf60a4e99c97c (diff) |
adding share type circles
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Share20/Manager.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index c8aafd97652..dd983b6c7ba 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -1329,7 +1329,8 @@ class Manager implements IManager { */ public function checkPassword(\OCP\Share\IShare $share, $password) { $passwordProtected = $share->getShareType() !== \OCP\Share::SHARE_TYPE_LINK - || $share->getShareType() !== \OCP\Share::SHARE_TYPE_EMAIL; + || $share->getShareType() !== \OCP\Share::SHARE_TYPE_EMAIL + || $share->getShareType() !== \OCP\Share::SHARE_TYPE_CIRCLE; if (!$passwordProtected) { //TODO maybe exception? return false; |