mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-17 09:22:30 -05:00
[PR #657] [MERGED] Updated authenticator TOTP #2637
Reference in New Issue
Block a user
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?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/657
Author: @BlackDex
Created: 10/10/2019
Status: ✅ Merged
Merged: 10/12/2019
Merged by: @dani-garcia
Base:
master← Head:totp-timedrift📝 Commits (3)
ebf4009Updated authenticator TOTPd989a19Merge branch 'master' of https://github.com/dani-garcia/bitwarden_rs into totp-timedrift9466f02Recoded TOTP time drift validation📊 Changes
12 files changed (+49 additions, -10 deletions)
View changed files
➕
migrations/mysql/2019-10-10-083032_add_column_to_twofactor/down.sql(+0 -0)➕
migrations/mysql/2019-10-10-083032_add_column_to_twofactor/up.sql(+1 -0)➕
migrations/postgresql/2019-10-10-083032_add_column_to_twofactor/down.sql(+0 -0)➕
migrations/postgresql/2019-10-10-083032_add_column_to_twofactor/up.sql(+1 -0)➕
migrations/sqlite/2019-10-10-083032_add_column_to_twofactor/down.sql(+0 -0)➕
migrations/sqlite/2019-10-10-083032_add_column_to_twofactor/up.sql(+1 -0)📝
src/api/core/two_factor/authenticator.rs(+40 -9)📝
src/api/identity.rs(+1 -1)📝
src/db/models/two_factor.rs(+2 -0)📝
src/db/schemas/mysql/schema.rs(+1 -0)📝
src/db/schemas/postgresql/schema.rs(+1 -0)📝
src/db/schemas/sqlite/schema.rs(+1 -0)📄 Description
drift. This means in total 3 codes could be valid. But only newer codes
then the previouse used codes are excepted after that.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.