mirror of
https://github.com/floci-io/floci.git
synced 2026-11-26 07:11:11 -05:00
A software-token code now answers one SOFTWARE_TOKEN_MFA challenge only. The step of the last accepted code is stored on the user, and a code from that step or an earlier one fails with ExpiredCodeException, as AWS does (RFC 6238 section 5.2). VerifySoftwareToken does not record a step, and activating a new authenticator clears it. Fixes #6804