The two-factor plugin reads/writes a verified boolean on the twoFactor model (set true by verify-totp); without it the drizzle adapter rejects every /two-factor/enable call.
1 line
78 B
SQL
1 line
78 B
SQL
ALTER TABLE "two_factor" ADD COLUMN "verified" boolean DEFAULT false NOT NULL; |