Skip to content

Feat/build teacher form - #129

Open
AdelObaji11 wants to merge 4 commits into
mainfrom
Feat/build-teacher-form
Open

AdelObaji11 wants to merge 4 commits into
mainfrom
Feat/build-teacher-form

Conversation

@AdelObaji11

Copy link
Copy Markdown
Contributor

No description provided.

@AdelObaji11
AdelObaji11 requested a review from a team September 21, 2026 23:08
lastName: teacherData.lastName,
email: teacherData.email,
phoneNumber: teacherData.phoneNumber,
hashedPassword: teacherData.password,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hashedPassword should not be populated from the raw password on the frontend. The frontend should send the plain password field to the API, and password hashing should remain a backend responsibility.

}

return (
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black/40">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This modal is implemented manually while the project already uses the shared Dialog component.

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.

2 participants