oportunidades 4
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-10 07:03:59 +02:00
parent e662230df7
commit 6ddafc95ba
179 changed files with 22750 additions and 933 deletions
@@ -12,7 +12,11 @@ import {
import { OTP_MAX_LENGTH } from '@/hooks/use-two-factor-auth';
import { store } from '@/routes/two-factor/login';
export default function TwoFactorChallenge() {
export default function TwoFactorChallenge({
qaAccount,
}: {
qaAccount?: { id: number; email: string };
}) {
const [showRecoveryInput, setShowRecoveryInput] = useState<boolean>(false);
const [code, setCode] = useState<string>('');
@@ -53,6 +57,16 @@ export default function TwoFactorChallenge() {
<>
<Head title="Two-factor authentication" />
{qaAccount && (
<p
className="mb-4 rounded border border-amber-300 bg-amber-50 p-3 text-sm text-slate-900"
role="status"
>
MFA da conta QA {qaAccount.id}: {qaAccount.email}. Confirme
com o autenticador desta conta.
</p>
)}
<div className="space-y-6">
<Form
{...store.form()}