From aa4eaf3a7e66a144d2f841e9ed7cc7e713e41bff Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt <hey@jancborchardt.net> Date: Mon, 17 Oct 2016 14:28:16 +0200 Subject: [PATCH] finish up layout of log in page, postpone forgot password link for later Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net> --- core/css/styles.css | 1 + core/templates/login.php | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/core/css/styles.css b/core/css/styles.css index d7b7a6d0b9b..336c764de55 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -608,6 +608,7 @@ label.infield { display: inline-block; margin: 10px 0; text-align: center; + width: 100%; } #body-login #forgot-password { padding: 11px; diff --git a/core/templates/login.php b/core/templates/login.php index de9c1701cef..36ed59e9309 100644 --- a/core/templates/login.php +++ b/core/templates/login.php @@ -78,12 +78,6 @@ script('core', [ <label for="remember_login"><?php p($l->t('Stay logged in')); ?></label> </div> <?php endif; ?> - - <?php if(!empty($_['canResetPassword'])) { ?> - <a id="forgot-password" href="<?php p($_['resetPasswordLink']); ?>"> - <?php p($l->t('Forgot password?')); ?> - </a> - <?php } ?> </div> <input type="hidden" name="timezone-offset" id="timezone-offset"/> -- GitLab