diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-01-21 10:42:47 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-01-21 10:42:47 +0100 |
commit | 9fd4cb1b6683cdebdeaec0f744bd2ba1fb1c64e3 (patch) | |
tree | f61e617dd3a25922e9a3aa2574f5154c66e54302 /apps/files_sharing/public.php | |
parent | 0f794b6889d05508c86449dacdee3e05bd47d071 (diff) | |
download | nextcloud-server-9fd4cb1b6683cdebdeaec0f744bd2ba1fb1c64e3.tar.gz nextcloud-server-9fd4cb1b6683cdebdeaec0f744bd2ba1fb1c64e3.zip |
adding password protection check to getShareByToken()
Diffstat (limited to 'apps/files_sharing/public.php')
-rw-r--r-- | apps/files_sharing/public.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php index d050efd5b32..100379047d3 100644 --- a/apps/files_sharing/public.php +++ b/apps/files_sharing/public.php @@ -35,7 +35,7 @@ function determineIcon($file, $sharingRoot, $sharingToken) { if (isset($_GET['t'])) { $token = $_GET['t']; - $linkItem = OCP\Share::getShareByToken($token); + $linkItem = OCP\Share::getShareByToken($token, false); if (is_array($linkItem) && isset($linkItem['uid_owner'])) { // seems to be a valid share $type = $linkItem['item_type']; |