Includes MFA-capable authentication, session and CSRF security, password recovery, listing lifecycle and ownership rules, inventory image metadata, local ImageStorage, migrations, tests, and implementation status documentation. Verification: npm test (62 passing) and integration suite (14 passing).
5 lines
205 B
SQL
5 lines
205 B
SQL
ALTER TABLE "sessions" ADD COLUMN "csrf_token_hash" text;
|
|
|
|
UPDATE "sessions" SET "csrf_token_hash" = '' WHERE "csrf_token_hash" IS NULL;
|
|
|
|
ALTER TABLE "sessions" ALTER COLUMN "csrf_token_hash" SET NOT NULL; |