feat: admin controls
This commit is contained in:
+2
-1
@@ -385,7 +385,8 @@ export const recoveryLinks = pgTable(
|
||||
userId: text("user_id")
|
||||
.notNull()
|
||||
.references(() => users.id, { onDelete: "cascade" }),
|
||||
// also turn two-factor off and sign every device out when it is used
|
||||
// also turn two-factor off when it is used, every device is signed out
|
||||
// either way
|
||||
resetSecurity: boolean("reset_security").notNull().default(true),
|
||||
expiresAt: timestamptz("expires_at").notNull(),
|
||||
createdAt: timestamptz("created_at").defaultNow().notNull(),
|
||||
|
||||
Reference in New Issue
Block a user