diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2017-10-30 17:56:49 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2017-11-02 12:03:31 +0100 |
commit | aca29b0c889955285a8e56e7609724a9fd873345 (patch) | |
tree | 4bc71a091ea936c7533a2071df6c629f58eb0143 /core/templates | |
parent | 8ee765a61743db31749b0bdb51ce09915458325f (diff) | |
download | nextcloud-server-aca29b0c889955285a8e56e7609724a9fd873345.tar.gz nextcloud-server-aca29b0c889955285a8e56e7609724a9fd873345.zip |
Directly show Forgot password link, fix #6808
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/login.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/templates/login.php b/core/templates/login.php index 0801b3746df..342eb43a625 100644 --- a/core/templates/login.php +++ b/core/templates/login.php @@ -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"/> |