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.
2 lines
192 B
SQL
2 lines
192 B
SQL
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; |