@extends('eliteadmin::layouts.app') @section('title', 'My Profile') @section('page_class', 'page-profile') @section('content')
Profile
{{ auth()->user()->name }}

{{ auth()->user()->email }}

{{ auth()->user()->roles->first()->name ?? 'Staff' }}

Profile Information
@csrf @method('PUT')
@error('name')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@error('phone')
{{ $message }}
@enderror
Change Password
@csrf @method('PUT')
@error('current_password')
{{ $message }}
@enderror
@error('password')
{{ $message }}
@enderror
@if ($platformTwoFactorEnabled)
Two-Factor Authentication

When enabled, you will receive a 6-digit verification code on WhatsApp each time you sign in.

@if (! filled($user->phone)) Add a mobile number to your profile before enabling two-factor authentication. @endif
@csrf @method('PUT')
two_factor_enabled)) @disabled(! $canEnableTwoFactor && ! $user->two_factor_enabled)>
@error('current_password')
{{ $message }}
@enderror @error('phone')
{{ $message }}
@enderror
@endif
@endsection