Flowchart · from auth/password-reset.ts
The two functions behind “Forgot password?”: one emails a link, the other checks it and sets the new password. Every early return is an error reply.