mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 08:13:50 +00:00
The step-up for linking a device sends the user to the identity provider with `prompt=login`. The login route accepted that pending state too, so a code from the re-auth could be spent there and sign this browser in as whichever account answered the prompt. It now refuses a re-auth state; only the pairing route completes one. The callback page also handles its code once. React's development double effect ran it twice: the second pass no longer saw the re-auth flag and raced the pairing route for the single-use code.