<section class="login-card"><h1>Double authentification</h1><p>Saisissez le code à 6 chiffres de votre application d’authentification, ou un code de secours.</p>
<?php if(!empty($_SESSION['error'])):?><p class="login-notice"><?=htmlspecialchars((string)$_SESSION['error'])?></p><?php unset($_SESSION['error']); endif;?>
<form method="post" action="/public/mfa/verifier"><?=\App\Core\Csrf::field()?><label>Code MFA</label><input name="code" inputmode="numeric" autocomplete="one-time-code" required autofocus><button type="submit">Vérifier</button></form></section>
