summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRoger Szabo <roger.szabo@web.de>2018-04-24 15:47:31 +0800
committerMorris Jobke <hey@morrisjobke.de>2018-05-29 16:40:39 +0200
commit4ba9556bc2a7aa5612f4c1d3415b547c34691ee1 (patch)
tree0a18ee04afc84b549f8bb24f3bea82a7720106d4 /apps
parentaf2ecbbd5a81d8e1621ecda1784a99adb0fc43dd (diff)
downloadnextcloud-server-4ba9556bc2a7aa5612f4c1d3415b547c34691ee1.tar.gz
nextcloud-server-4ba9556bc2a7aa5612f4c1d3415b547c34691ee1.zip
remove reset password link
Signed-off-by: Roger Szabo <roger.szabo@web.de>
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/templates/renewpassword.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/user_ldap/templates/renewpassword.php b/apps/user_ldap/templates/renewpassword.php
index 7b1df75e06b..78346788399 100644
--- a/apps/user_ldap/templates/renewpassword.php
+++ b/apps/user_ldap/templates/renewpassword.php
@@ -53,11 +53,7 @@ style('user_ldap', 'renewPassword');
<input type="submit" id="submit" class="login primary icon-confirm-white" title="" value="<?php p($l->t('Renew password')); ?>"/>
- <?php if (!empty($_['invalidpassword']) && !empty($_['canResetPassword'])) { ?>
- <a id="lost-password" class="warning" href="<?php p($_['resetPasswordLink']); ?>">
- <?php p($l->t('Wrong password. Reset it?')); ?>
- </a>
- <?php } else if (!empty($_['invalidpassword'])) { ?>
+ <?php if (!empty($_['invalidpassword'])) { ?>
<p class="warning">
<?php p($l->t('Wrong password.')); ?>
</p>