diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-03 16:31:23 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-03 16:31:23 +0300 |
commit | 335a46125084159f76b83cc62307712e296caac1 (patch) | |
tree | ca10612d484cd86bb8466cc891f9a676511a1c47 /core/templates | |
parent | 893d2daeced67bddb2a277f8d126b3b27d78fcb0 (diff) |
Fix design of 2FA login screens
* Fix rending of empty selection screen (ul missing)
* Fix rendering of backup codes inputs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/twofactorselectchallenge.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/core/templates/twofactorselectchallenge.php b/core/templates/twofactorselectchallenge.php index a2fc97495ac..d0bccfabd60 100644 --- a/core/templates/twofactorselectchallenge.php +++ b/core/templates/twofactorselectchallenge.php @@ -6,17 +6,17 @@ <strong><?php p($l->t('Could not load at least one of your enabled two-factor auth methods. Please contact your admin.')) ?></strong> </p> <?php endif; ?> - <?php if (empty($_['providers'])): ?> - <p> - <?php if (is_null($_['backupProvider'])): ?> - <strong><?php p($l->t('Two-factor authentication is enforced but has not been configured on your account. Contact your admin for assistance.')) ?></strong> - <?php else: ?> - <strong><?php p($l->t('Two-factor authentication is enforced but has not been configured on your account. Use one of your backup codes to log in or contact your admin for assistance.')) ?></strong> - <?php endif; ?> - </p> - <?php else: ?> <p> <ul> + <?php if (empty($_['providers'])): ?> + <p> + <?php if (is_null($_['backupProvider'])): ?> + <strong><?php p($l->t('Two-factor authentication is enforced but has not been configured on your account. Contact your admin for assistance.')) ?></strong> + <?php else: ?> + <strong><?php p($l->t('Two-factor authentication is enforced but has not been configured on your account. Use one of your backup codes to log in or contact your admin for assistance.')) ?></strong> + <?php endif; ?> + </p> + <?php else: ?> <?php foreach ($_['providers'] as $provider): ?> <li> <a class="two-factor-provider" |