Hey, hope you doing fine, so i was reading the code a bit and see the procedures. in the sign-up procedure you are creating the token and try sending a verification email to the user and straight after that you are setting the session and login the user automatically without any verification. is there a reason for that ?
|
await setSession(user.id); |
Hey, hope you doing fine, so i was reading the code a bit and see the procedures. in the sign-up procedure you are creating the token and try sending a verification email to the user and straight after that you are setting the session and login the user automatically without any verification. is there a reason for that ?
wdc-saas-starter-kit/src/app/(main)/(auth)/sign-up/actions.ts
Line 22 in 6bd05ab