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:
parent
849ce1ebce
commit
6f86749757
11 changed files with 148 additions and 0 deletions
|
@ -0,0 +1 @@
|
|||
DROP TABLE twofactor_duo_ctx;
|
|
@ -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)
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue