Skip to content
RED SAG Skills
hard20 pts · first answer countsauthenticationrace-conditionspassword-reset

A reset link used twice at once

Two requests use the same password reset token at the same moment, and both succeed. The code reads the token, checks used = false, then sets used = true. What is the fix?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions