@extends('admin.layout') @section('title', 'Security') @section('content')
Each code signs you in once if your phone isn't handy. They are shown only now. Keep them in your password manager or print them.
user()->email.")\nEach works once.\n\n".implode("\n", session('recovery_codes'))."\n") }}">Download .txt I've saved them
On Authenticator app connected {{ $mfa->confirmed_at->format('M j, Y') }}. Last code used {{ $mfa->last_used_at?->diffForHumans() ?? 'never' }}.
Backup codes left: {{ $mfa->remainingCodes() }} of {{ \App\Models\AdminMfa::CODE_COUNT }}@if ($mfa->remainingCodes() <= 3) make new ones@endif
@include('partials.errors')New codes replace the old ones. To move to a new phone, run sudo -u www-data php artisan hc:admin-mfa-reset {{ auth('admin')->user()->email }} on the server and sign in again.
@elseNot set up.
@endifTo change your password, sign out and use Forgot your password?. Changing it signs out every other admin session.