Commit 5cb18c2
committed
chore: verifyRecoveryCode - Persist the used_at write immediately
So a consumed recovery code cannot be reused on a subsequent request.1 parent 2c99a62 commit 5cb18c2
2 files changed
Lines changed: 2 additions & 0 deletions
File tree
- app/Strategies/MFA
- tests/Unit/MFA
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
0 commit comments