@extends('admin.layout') @section('title', 'Admin Profile & Security') @section('content')

Profile & Security Settings

Manage your admin username, change password securely, and customize the admin access URL.

@if(session('profile_success')) @endif @if(session('password_success')) @endif @if(session('prefix_success')) @endif
{{ strtoupper(substr($user->name ?? 'A', 0, 1)) }}
{{ $user->name }}

{{ $user->email }}

{{ $user->role ?? 'admin' }} {{ ucfirst($user->status ?? 'active') }}
Account Details

Change your display name and login email.

@csrf @method('PUT')
@error('name')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
Change Password

For your security, you must verify your current password before saving a new one.

Security Requirement: Please enter your current (old) password to authenticate. New passwords must be at least 8 characters long.
@csrf @method('PUT')
@error('current_password')
{{ $message }}
@enderror

@error('password')
{{ $message }}
@enderror
Must be at least 8 characters long and different from current password.
Custom Admin URL Prefix

Change the URL path used to access this admin control panel.

Active: /{{ $adminPrefix }}
Security Protection: Changing this slug obscures your admin dashboard and login page from bots scanning default /admin URLs.
@csrf @method('PUT')
{{ url('/') }}/ @error('admin_prefix')
{{ $message }}
@enderror
New URL Preview: {{ url('/') }}/{{ $adminPrefix }}
@endsection @push('scripts') @endpush