remove reset password link
Signed-off-by: Roger Szabo <roger.szabo@web.de>
This commit is contained in:
parent
3ff041f86d
commit
15fb3bb73a
|
@ -23,7 +23,7 @@ style('user_ldap', 'renewPassword');
|
||||||
<?php p($message); ?><br>
|
<?php p($message); ?><br>
|
||||||
</div>
|
</div>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php if (isset($_['internalexception']) && $_['internalexception']): ?>
|
<?php if (isset($_['internalexception']) && ($_['internalexception'])): ?>
|
||||||
<div class="warning">
|
<div class="warning">
|
||||||
<?php p($l->t('An internal error occurred.')); ?><br>
|
<?php p($l->t('An internal error occurred.')); ?><br>
|
||||||
<small><?php p($l->t('Please try again or contact your administrator.')); ?></small>
|
<small><?php p($l->t('Please try again or contact your administrator.')); ?></small>
|
||||||
|
@ -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')); ?>"/>
|
<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'])) { ?>
|
<?php if (!empty($_['invalidpassword'])) { ?>
|
||||||
<a id="lost-password" class="warning" href="<?php p($_['resetPasswordLink']); ?>">
|
|
||||||
<?php p($l->t('Wrong password. Reset it?')); ?>
|
|
||||||
</a>
|
|
||||||
<?php } else if (!empty($_['invalidpassword'])) { ?>
|
|
||||||
<p class="warning">
|
<p class="warning">
|
||||||
<?php p($l->t('Wrong password.')); ?>
|
<?php p($l->t('Wrong password.')); ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue