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
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.
routes/superadmin/auth.php
app/Livewire/SuperAdmin/ChangePasswordPage.php
app/Livewire/SuperAdmin/Forms/Auth/ChangePasswordForm.php
Last modified on May 26, 2026