A solicitação
“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.”
Depois, tenteAdd a welcome email after activation.Add an expiration time to the verification link.
O que há neste desenho
Entenda as decisões por trás dele.
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.