@extends('admin.admin_dashboard') @section('admin') <<<<<<< HEAD
Admin

{{ $profileData->name }}

{{ $profileData->username }}

{{ $profileData->email }}


@csrf
Old Password
@error('old_password') {{ $message }} @enderror
New Password
@error('new_password') {{ $message }} @enderror
Confirm New Password
@endsection ======= @php $photoUrl = $profileData->photo ? url('upload/admin_images/'.$profileData->photo) : url('upload/no_image.jpg'); $isOnline = $profileData->UserOnline(); $roleLabel = ucfirst(str_replace('-', ' ', $profileData->role ?? 'user')); @endphp
Home My Profile Change Password Back to profile
{{-- Left column --}}
{{ $profileData->name }} @if($isOnline) @endif

{{ $profileData->name }}

{{ $profileData->username ? '@'.$profileData->username : 'No username' }}

{{ $profileData->email }}

Security tips
  • Use at least 8 characters with letters and numbers.
  • Avoid reusing passwords from other sites.
  • Do not share your password with colleagues.
  • Change your password if you suspect unauthorized access.
{{-- Right column --}}
@csrf
@error('old_password')
{{ $message }}
@enderror
@error('new_password')
{{ $message }}
@enderror
Update password Cancel
@push('scripts') @endpush @endsection >>>>>>> origin/main