mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-12-23 06:50:32 +01:00
ebf40099f2
- Added security check for previouse used codes - Allow TOTP codes with 1 step back and forward when there is a time drift. This means in total 3 codes could be valid. But only newer codes then the previouse used codes are excepted after that.
1 line
No EOL
70 B
SQL
1 line
No EOL
70 B
SQL
ALTER TABLE twofactor ADD COLUMN last_used INTEGER NOT NULL DEFAULT 0; |