HR-5: TOTP-code hergebruikbaar tussen enable/disable + login #117
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jesse-a/OpenCRM#117
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: MEDIUM
enableTotpendisableTotpgebruikten een TOTP-validator die de code niet consumeerde — een gebruiker kon dezelfde 30s-window-code daarna nog bij/loginhergebruiken (replay binnen window).Fix: beide vrouwen nu
verifyTotpAndConsume()ipv de niet-verbruikende variant;User.lastTotpStepmarkeert de code als opgebruikt.Opgelost in commit
4d080f2.