fix: complete two_factor schema to full plugin field set
Adds failedVerificationCount and lockedUntil (brute-force tracking maintained by the two-factor plugin). The adapter rejects any two-factor endpoint while declared fields are missing from the drizzle schema; verified was already added in the previous commit.
This commit is contained in:
1 parent
f42f4d5d2d
commit
11cde23cdb
4 files changed
+1971
-4
No files matched your search
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE "two_factor" ADD COLUMN "failed_verification_count" integer DEFAULT 0 NOT NULL;--> statement-breakpoint
|
||||
ALTER TABLE "two_factor" ADD COLUMN "locked_until" timestamp with time zone;
|
||||
Reference in new issue
Block a user