feat: 2fa backup codes (#10600)

Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
nicktrnandPeer Richelsen authored and GitHub committed 2023-08-30 07:33:48 +00:00
1 parent efa6d464a3
commit a308075bc3
16 files changed
+280 -36

No files matched your search

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "users" ADD COLUMN "backupCodes" TEXT;
+1
View File
@@ -202,6 +202,7 @@ model User {
timeFormat Int? @default(12)
twoFactorSecret String?
twoFactorEnabled Boolean @default(false)
backupCodes String?
identityProvider IdentityProvider @default(CAL)
identityProviderId String?
availability Availability[]