diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-11-14 00:55:22 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-12-05 10:33:48 -0100 |
commit | c1558af16da9126ad4da5db001bc5c8c92c8bc51 (patch) | |
tree | 890d5f43ca03b2bd8f7c1e07e48241b06388b8be /lib | |
parent | 8ccf207e4732e3bd6f68329594dc55eec092b6b1 (diff) | |
download | nextcloud-server-c1558af16da9126ad4da5db001bc5c8c92c8bc51.tar.gz nextcloud-server-c1558af16da9126ad4da5db001bc5c8c92c8bc51.zip |
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 db9c704871d..57a129e492c 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -1445,7 +1445,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; |