aboutsummaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/templates/challenge.php
blob: e4792c8256aef6eec99addcd053ad2216ad1fde9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

declare(strict_types=1);

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')) ?>">
	<button class="two-factor-submit primary" type="submit">
		<?php p($l->t('Submit')); ?>
	</button>
</form>