summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/public.php
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-07-02 03:16:42 +0200
committerkondou <kondou@ts.unde.re>2013-07-02 03:16:42 +0200
commit2c4a9e0776ed3f2ce40cb5e4335df5ffaacde9a2 (patch)
tree068cc9ed9088e64d12e650918d6ac7afe83a5431 /apps/files_sharing/public.php
parentfbdf46b76e0162261be4a7c9e5a71868a331f4d8 (diff)
downloadnextcloud-server-2c4a9e0776ed3f2ce40cb5e4335df5ffaacde9a2.tar.gz
nextcloud-server-2c4a9e0776ed3f2ce40cb5e4335df5ffaacde9a2.zip
Add a "Wrong password." message, if the password
for the public share was wrong. Fix #2725
Diffstat (limited to 'apps/files_sharing/public.php')
-rw-r--r--apps/files_sharing/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index ef86013b3e7..fb18bc26248 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -79,7 +79,7 @@ if (isset($path)) {
$linkItem['share_with']))) {
$tmpl = new OCP\Template('files_sharing', 'authenticate', 'guest');
$tmpl->assign('URL', $url);
- $tmpl->assign('error', true);
+ $tmpl->assign('wrongpw', true);
$tmpl->printPage();
exit();
} else {