Skip to content

Commit

Permalink
fix: create users based on the selected type
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinWu098 authored Sep 10, 2024
1 parent a80192c commit fe82de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Authentication/SignUp.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const SignUp = () => {
}

// register email and password
await registerWithEmailAndPassword(email, password, USER_ROLE, navigate, '/awaitConfirmation', firstName, lastName);
await registerWithEmailAndPassword(email, password, userType, navigate, '/awaitConfirmation', firstName, lastName);

// send email to Debbie
const subject = "New User Created Account";
Expand Down

0 comments on commit fe82de7

Please sign in to comment.