diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-01 11:30:32 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-01 23:58:54 +0200 |
commit | feb5842a7df71f1c8747446f2ff6293cea2a9e30 (patch) | |
tree | 5910d039cb40f740a2b0db6122195fe40b362af9 /apps/twofactor_backupcodes/templates/challenge.php | |
parent | 40a3dbf87818d0e8f300feeb31f3babb577ed53d (diff) | |
download | nextcloud-server-feb5842a7df71f1c8747446f2ff6293cea2a9e30.tar.gz nextcloud-server-feb5842a7df71f1c8747446f2ff6293cea2a9e30.zip |
Restructure and redesign two-factor auth provider selection
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/twofactor_backupcodes/templates/challenge.php')
-rw-r--r-- | apps/twofactor_backupcodes/templates/challenge.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/twofactor_backupcodes/templates/challenge.php b/apps/twofactor_backupcodes/templates/challenge.php index e6ec7bb52e6..d269fb4b47e 100644 --- a/apps/twofactor_backupcodes/templates/challenge.php +++ b/apps/twofactor_backupcodes/templates/challenge.php @@ -2,7 +2,13 @@ style('twofactor_backupcodes', 'style'); ?> +<img class="two-factor-icon" src="<?php p(image_path('core', 'actions/more-white.svg')) ?>" alt="" /> + +<p><?php p($l->t('Use one of the backup codes you saved when setting up two-factor authentication.')) ?></p> + <form method="POST" class="challenge-form"> <input type="text" class="challenge" name="challenge" required="required" autofocus autocomplete="off" autocapitalize="off" placeholder="<?php p($l->t('Backup code')) ?>"> - <input type="submit" class="confirm-inline icon-confirm" value=""> + <button class="two-factor-submit primary" type="submit"> + <?php p($l->t('Submit')); ?> + </button> </form> |