@extends('layouts.app') @section('title', 'Security') @section('content')

Account security

Use an authenticator app for time-based one-time passwords. Recovery codes should be stored somewhere safe.

@if($user->two_factor_confirmed_at)
Two-factor authentication is enabled.

Recovery codes

@foreach($recoveryCodes as $code)
{{ $code }}
@endforeach
@csrf
@csrf @method('DELETE')
@else @if(!$user->two_factor_secret)
@csrf
@else

Scan the QR code with your authenticator app, then confirm with a 6-digit code.

{!! $qrSvg !!}
{{ $otpauthUrl }}
@csrf
@endif @endif
@endsection