@extends('layouts.app') @section('title', 'My Profile - Pharmacy Management') @section('page', 'My Profile') @section('content')
@if(session('success'))

{{ session('success') }}

@endif

Account Details

@csrf @method('PUT')
@error('name')

{{ $message }}

@enderror
@error('email')

{{ $message }}

@enderror

Change Password

@csrf @method('PUT')
@error('current_password')

{{ $message }}

@enderror
@error('password')

{{ $message }}

@enderror

Two-Factor Authentication

@if($user->two_factor_enabled)

Two-factor authentication is enabled

Your account is protected with an additional layer of security.

@else

Two-factor authentication is not enabled

Add an extra layer of security to your account.

Enable Two-Factor Auth @endif
@endsection