summaryrefslogtreecommitdiffstats
path: root/core/templates/twofactorshowchallenge.php
blob: fb161921675cd1afc556d6d9289102bb0adb3908 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
/** @var $l OC_L10N */
/** @var $_ array */
/* @var $error boolean */
$error = $_['error'];
/* @var $provider OCP\Authentication\TwoFactorAuth\IProvider */
$provider = $_['provider'];
/* @var $template string */
$template = $_['template'];
?>

<div class="warning">
		<h2 class="two-factor-header"><?php p($provider->getDisplayName()); ?></h2>
		<?php if ($error): ?>
		<p><strong><?php p($l->t('Error while validating your second factor')); ?></strong></p>
		<?php endif; ?>
		<?php print_unescaped($template); ?>
</div>
<a class="two-factor-cancel" <?php print_unescaped($_['logout_attribute']); ?>><?php p($l->t('Cancel log in')) ?></a>