الطلب
“Create an email verification flowchart: register a user with email, send a verification email, wait for the link or a resend request, validate the token, activate the account when it is valid, and return an error for an invalid or expired token.”
جرّب إذنAdd a welcome email after activation.Add an expiration time to the verification link.
ما الذي يتضمنه هذا الرسم
اقرأ القرارات الكامنة وراءه.
01
Should the system resend the verification email if the user does not click?
02
Is the token still valid (not expired)?
When building user registration flows requiring email verification.