Password reset
The reset link is a bearer credential: store only its hash, let it be used once, expire it fast, and invalidate every session when the password changes.
What this skill helps you build
A secure forgot-password flow built on a hashed, single-use, short-lived token — and the responses and session cleanup that keep it from leaking accounts.
The production takeaway
The reset link is a bearer credential: store only its hash, let it be used once, expire it fast, and invalidate every session when the password changes.
Inside this skill
The full skill expands these implementation areas with decisions, edge cases, prompts, tests, and framework-specific code.
Unlock the full implementation
Paid access includes the complete skill body, implementation prompt, common mistakes, production checklist, and code examples where this skill includes them.