@extends('layouts.admin') @section('content')

Account

My Account

Review your signed-in account and manage the security controls that protect access to the HMS administration portal.

Signed in as

{{ $user->name }}

{{ $user->email }}

Account security {{ $user->two_factor_confirmed_at ? 'Two-factor authentication is enabled.' : 'Two-factor authentication is not yet enabled.' }}

Change password

Changing your password revokes other active sessions so old sign-ins cannot continue using the account.

@csrf @method('PUT')

Two-factor authentication

2FA requires a current code from an authenticator app in addition to your password.

@if($user->two_factor_confirmed_at)
Enabled {{ $user->two_factor_confirmed_at->diffForHumans() }}.
@csrf @method('DELETE')
@elseif($setupSecret)

Add this secret to an authenticator app, then enter a current six-digit code to finish setup.

{{ $setupSecret }}
Show provisioning URI{{ $provisioningUri }}
@csrf
@else
@csrf
@endif @if($recoveryCodes)
Save these recovery codes now.

Store them somewhere secure. Each code can be used if your authenticator is unavailable.

@foreach($recoveryCodes as $code){{ $code }}@endforeach
@endif
@endsection