From fe82de7fe77b5dffd7c72221e5a8082aa412065a Mon Sep 17 00:00:00 2001 From: Kevin Wu Date: Tue, 10 Sep 2024 10:22:17 -0700 Subject: [PATCH] fix: create users based on the selected type --- src/components/Authentication/SignUp.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Authentication/SignUp.jsx b/src/components/Authentication/SignUp.jsx index b444fd3..d93cb90 100644 --- a/src/components/Authentication/SignUp.jsx +++ b/src/components/Authentication/SignUp.jsx @@ -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";