Skip to content

Fix #86: assign names to all users#87

Open
divyansh-v15-06 wants to merge 2 commits into
ayush00git:mainfrom
divyansh-v15-06:fix1
Open

Fix #86: assign names to all users#87
divyansh-v15-06 wants to merge 2 commits into
ayush00git:mainfrom
divyansh-v15-06:fix1

Conversation

@divyansh-v15-06

Copy link
Copy Markdown
Collaborator

Previously, the Warden and CentreHead user roles did not collect or store a "Name" field. As a result, when these users viewed their profile dashboard, the application fell back to trimming their email prefix (e.g., displaying warden instead of their actual name). This was inconsistent with how Faculty users were handled and felt less personalized. Because the backend /api/profile endpoint directly serializes the user models to JSON, the frontend Profile.tsx page now automatically receives the name property and renders it perfectly without requiring any extra changes!)

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.

1 participant