for the public share was wrong.
Fix #2725
$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 {
<form action="<?php p($_['URL']); ?>" method="post">
<fieldset>
+ <?php if ($_['wrongpw']): ?>
+ <div class="warning"><?php p($l->t('Wrong password.')); ?></div>
+ <?php endif; ?>
<p class="infield">
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
<input type="password" name="password" id="password" placeholder="" value="" autofocus />