> ## Documentation Index
> Fetch the complete documentation index at: https://docs.younegotiate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Change Password

> A Super Admin user wants to rotate their password after a security review. They enter their current password, enter and confirm a new password, and save it.

## Real-World Example

A Super Admin user wants to rotate their password after a security review. They enter their current password, enter and confirm a new password, and save it.

## Visual Flow

```mermaid placement="top-right" actions={true} theme={"system"}
flowchart TD
    A["Super Admin opens Change Password"] --> B["User enters current password"]
    B --> C["User enters new password"]
    C --> D{"Current password correct and new password valid?"}
    D -->|Yes| E["Password is updated"]
    D -->|No| F["Show validation error"]
    classDef default fill:#F8FAFC,stroke:#64748B,stroke-width:1.5px,color:#0F172A;
    classDef actor fill:#E0F2FE,stroke:#0284C7,stroke-width:2px,color:#0C4A6E;
    classDef system fill:#F8FAFC,stroke:#64748B,stroke-width:1.5px,color:#0F172A;
    classDef decision fill:#FEF3C7,stroke:#D97706,stroke-width:2px,color:#78350F;
    classDef risk fill:#FEE2E2,stroke:#DC2626,stroke-width:2px,color:#7F1D1D;
    classDef outcome fill:#DCFCE7,stroke:#16A34A,stroke-width:2px,color:#14532D;
    class A actor;
    class B,C system;
    class D decision;
    class E outcome;
    class F risk;
    linkStyle default stroke:#94A3B8,stroke-width:2px;
```

## How It Should Work

* It should require the current password.
* It should require a new confirmed password that follows password rules.
* It should update only the logged-in Super Admin user.

## How It Should Not Work

* It should not change the password when the current password is wrong.
* It should not allow changing another Super Admin user from this page.
* It should not accept a weak or unconfirmed password.

## Developer Notes

* This page is a self-service security page, not user administration.
* Keep validation aligned with Super Admin password rules.

## Related App Areas

* `routes/superadmin/auth.php`
* `app/Livewire/SuperAdmin/ChangePasswordPage.php`
* `app/Livewire/SuperAdmin/Forms/Auth/ChangePasswordForm.php`
