Captcha can gate signup for a logistics portal, but a dispatcher who already has an account needs a separate path for changing a password without turning account recovery into an easier takeover route. Short answer: require the existing session and a fresh code, bind the successful verification to that specific password change, consume its proof once, and revoke other sessions in the same handler. Choose the architecture by who owns those state transitions.
A Node.js Express application can delegate verification while owning the action proof, or keep the credential transition within an identity provider's workflow. Both shapes are viable. Neither should let a successful signup captcha authorize a later credential change.…