Skip to content

Conversation

@gomez-ashleyhermione
Copy link
Contributor

Fixed admin profile first/last name update not persisting.

Admin users could edit first/last names and see a success message, but changes would revert. Issue was caused by:

Backend DTO missing firstName/lastName fields
Frontend form conflicting disabled state management
Changes:

Added firstName/lastName to UpdateProfileRequest DTO with getters/setters
Updated AuthService.updateUserProfile() to persist name changes

Fixed frontend form binding by removing conflicting [disabled] attributes

Now uses getRawValue() and reflects changes immediately

@gomez-ashleyhermione gomez-ashleyhermione merged commit a757744 into main Jan 8, 2026
5 checks passed
@gomez-ashleyhermione gomez-ashleyhermione deleted the fix/admin-profile-name-updatev2 branch January 10, 2026 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants