Account security

Two-factor authentication

@if(!auth()->user()->two_factor_secret)
@csrf
@else
{!! auth()->user()->twoFactorQrCodeSvg() !!}
@if(!auth()->user()->two_factor_confirmed_at)
@csrf
@else

Two-factor authentication is active.

@endif
Recovery codes — store securely
{{ implode("\n",auth()->user()->recoveryCodes()) }}
@csrf @method('DELETE')
@endif

Change password

@csrf @method('PUT')