Autenticazione a due fattori (App)

Usa Google Authenticator, Microsoft Authenticator o app compatibile TOTP.

@if (session('status') === 'two-factor-enabled')

2FA attivata correttamente.

@endif @if (session('status') === 'two-factor-disabled')

2FA disattivata.

@endif @if (! $user->hasTwoFactorEnabled()) @if (!empty($twoFactorPendingSecret ?? null))

1) Inserisci questa chiave nell'app Authenticator:

{{ $twoFactorPendingSecret }} @if(!empty($twoFactorPendingUri ?? null))

URI OTP:

{{ $twoFactorPendingUri }} @endif
@csrf
Conferma e Attiva 2FA
@else
@csrf Abilita 2FA con App
@endif @else

2FA attiva dal {{ optional($user->two_factor_confirmed_at)->format('d/m/Y H:i') }}.

In login dovrai inserire il codice OTP della tua app.

@csrf
Disabilita 2FA
@endif