@extends('layouts.admin-auth')
@section('title', __('Two-Factor Verification'))
@section('content')
<h1 class="h3 fw-bold mb-1">Verify it’s you</h1><p class="text-body-secondary mb-4">Enter your six-digit authenticator code or a one-time recovery code.</p>
<form method="POST" action="{{ route('admin.two-factor.verify') }}">@csrf
    <div class="mb-4"><label for="code" class="form-label">Authentication or recovery code</label><input id="code" name="code" maxlength="11" class="form-control form-control-lg text-center font-monospace @error('code') is-invalid @enderror" autocomplete="one-time-code" required autofocus>@error('code')<div class="invalid-feedback">{{ $message }}</div>@enderror</div>
    <button class="btn btn-brand w-100 py-2" type="submit">Verify and continue</button><a class="btn btn-link w-100 mt-2 text-decoration-none" href="{{ route('admin.login') }}">Cancel</a>
</form>
@endsection
