UoaWDCC / uasc-web

Project with the University of Auckland Snowsports Club Website & Booking System. Established in 2023.
https://uasc.co.nz
6 stars 2 forks source link

[FRONTEND] Send password reset email to user after they sign up #434

Closed bcho892 closed 4 months ago

bcho892 commented 4 months ago

Is your feature request related to a problem? Please describe.

Right after the user signs up for an account there is a password setup step in the final page. However this may not be the most appropriate to accommodate for say the user leaving the page after signing up. For this reason, when calling the /signup endpoint is successful we should call sendPasswordResetEmail(auth, email).

You will have to edit onSuccess in client\src\components\composite\SignUpForm\PageConfig\PageConfig.tsx

BEFORE MERGING