Skip to content

Commit

Permalink
Issue feat:Add username as a password for learner account
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshataKatwal16 committed Feb 5, 2025
1 parent 9234c41 commit a01edbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/AddLeanerModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ const AddLearnerModal: React.FC<AddLearnerModalProps> = ({
if (apiBody?.phone_number) {
apiBody.mobile = apiBody?.phone_number;
}
apiBody.password=apiBody.username
const response = await createUser(apiBody);
if (response) {
showToastMessage(
Expand Down

0 comments on commit a01edbd

Please sign in to comment.