Skip to content

Commit

Permalink
Merge pull request #668 from AkshataKatwal16/reassign-cohorts
Browse files Browse the repository at this point in the history
Issue feat:Add username as a password for learner account
  • Loading branch information
itsvick authored Feb 5, 2025
2 parents 2fb59f7 + a01edbd commit aa46769
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 aa46769

Please sign in to comment.