Consume the specific reset OTP atomically before updating the password, and reject already-used codes. Co-authored-by: Cursor <cursoragent@cursor.com>
Learners get email/SMS OTP codes via /user/sendResetCode; team members get reset links via new /team/sendResetCode and /team/resetPassword APIs, with admin panel integration docs. Co-authored-by: Cursor <cursoragent@cursor.com>