需求
“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.