diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-05-12 10:46:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-12 10:46:57 +0200 |
commit | d341a96701caaa817f698ad53b365e4ac75f2dad (patch) | |
tree | e7cabf5a6e6e733742fdc226c25de56a3be03d08 /apps/user_ldap/templates/renewpassword.php | |
parent | 5fcb3dd1dc21c981be458f60774ccc806e9fe7ed (diff) | |
parent | aa85418c68d9a051ffa68759ef2e4bfc2e7eff15 (diff) | |
download | nextcloud-server-d341a96701caaa817f698ad53b365e4ac75f2dad.tar.gz nextcloud-server-d341a96701caaa817f698ad53b365e4ac75f2dad.zip |
Merge pull request #9288 from GitHubUser4234/ldap_password_renew_nc13fix
Ldap password renewal fixes for NC13
Diffstat (limited to 'apps/user_ldap/templates/renewpassword.php')
-rw-r--r-- | apps/user_ldap/templates/renewpassword.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/user_ldap/templates/renewpassword.php b/apps/user_ldap/templates/renewpassword.php index 9fc4271d6be..12b1d7fc045 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> |