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 { diff --git a/apps/files_sharing/templates/authenticate.php b/apps/files_sharing/templates/authenticate.php index 7a67b6e5503..9334861b1ce 100644 --- a/apps/files_sharing/templates/authenticate.php +++ b/apps/files_sharing/templates/authenticate.php @@ -1,5 +1,8 @@
+ +
t('Wrong password.')); ?>
+