diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-06-05 11:29:01 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-14 10:14:07 +0200 |
commit | 2005c162bdfbe70f2690697eee82bcbd28ff57f5 (patch) | |
tree | eecbbeb92260c867e7863e75be34b35384bad4d6 /apps/files_sharing/public.php | |
parent | 64ced76bebfab1607cbd44819b03242efdc17a9c (diff) | |
download | nextcloud-server-2005c162bdfbe70f2690697eee82bcbd28ff57f5.tar.gz nextcloud-server-2005c162bdfbe70f2690697eee82bcbd28ff57f5.zip |
Fix prompting for password
Diffstat (limited to 'apps/files_sharing/public.php')
-rw-r--r-- | apps/files_sharing/public.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php index 4782c4dbe32..ec7c80f3316 100644 --- a/apps/files_sharing/public.php +++ b/apps/files_sharing/public.php @@ -128,6 +128,7 @@ if (isset($path)) { $tmpl->assign('mimetype', \OC\Files\Filesystem::getMimeType($path)); $tmpl->assign('dirToken', $linkItem['token']); $tmpl->assign('sharingToken', $token); + $tmpl->assign('protected', isset($linkItem['share_with']) ? 'true' : 'false'); $urlLinkIdentifiers= (isset($token)?'&t='.$token:'') .(isset($_GET['dir'])?'&dir='.$_GET['dir']:'') |