1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-10-07 16:54:33 +00:00

Add db schema and models for Duo 2FA state storage

This commit is contained in:
0x0fbc 2024-06-06 22:50:29 -04:00
commit 6f86749757
11 changed files with 148 additions and 0 deletions

View file

@ -0,0 +1 @@
DROP TABLE twofactor_duo_ctx;

View file

@ -0,0 +1,8 @@
CREATE TABLE twofactor_duo_ctx (
state TEXT NOT NULL,
user_email TEXT NOT NULL,
nonce TEXT NOT NULL,
exp INTEGER NOT NULL,
PRIMARY KEY (state)
);