mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-23 20:24:34 +02:00
server admin enforce 2fa per user
This commit is contained in:
parent
590296e64d
commit
915ccdc007
32 changed files with 1072 additions and 1123 deletions
|
@ -125,6 +125,9 @@ export const users = sqliteTable("user", {
|
|||
twoFactorEnabled: integer("twoFactorEnabled", { mode: "boolean" })
|
||||
.notNull()
|
||||
.default(false),
|
||||
twoFactorSetupRequested: integer("twoFactorSetupRequested", {
|
||||
mode: "boolean"
|
||||
}).default(false),
|
||||
twoFactorSecret: text("twoFactorSecret"),
|
||||
emailVerified: integer("emailVerified", { mode: "boolean" })
|
||||
.notNull()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue