Directly show Forgot password link, fix #6808
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
parent
8ee765a617
commit
aca29b0c88
2 changed files with 17 additions and 1 deletions
|
@ -384,13 +384,22 @@ form .warning input[type='checkbox']+label {
|
|||
#remember_login {
|
||||
margin: 18px 5px 0 16px !important;
|
||||
}
|
||||
.remember-login-container {
|
||||
.remember-login-container,
|
||||
.lost-password-container {
|
||||
display: inline-block;
|
||||
margin: 10px 0;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
text-shadow: 0 0 2px rgba(0, 0, 0, .4); // better readability on bright background
|
||||
}
|
||||
.lost-password-container {
|
||||
margin: 0;
|
||||
}
|
||||
.lost-password-container #lost-password {
|
||||
color: #fff;
|
||||
padding: 10px;
|
||||
opacity: .7;
|
||||
}
|
||||
#forgot-password {
|
||||
padding: 11px;
|
||||
float: right;
|
||||
|
|
|
@ -75,6 +75,13 @@ script('core', 'merged-login');
|
|||
<?php } ?>
|
||||
<label for="remember_login"><?php p($l->t('Stay logged in')); ?></label>
|
||||
</div>
|
||||
<?php if (!empty($_['canResetPassword'])) { ?>
|
||||
<div class="lost-password-container">
|
||||
<a id="lost-password" href="<?php p($_['resetPasswordLink']); ?>">
|
||||
<?php p($l->t('Forgot password?')); ?>
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="timezone_offset" id="timezone_offset"/>
|
||||
|
|
Loading…
Reference in a new issue