feat: add 2FA, secure cookies and publishing tools
All checks were successful
CI / Validate frontend and API (push) Successful in 3m5s
CI / Build and publish Docker images (push) Successful in 1m42s

This commit is contained in:
Cauê Faleiros
2026-11-06 10:29:37 -03:00
parent fff63f5efa
commit 50905eefd7
40 changed files with 3493 additions and 215 deletions

View File

@@ -0,0 +1,5 @@
-- Optional TOTP two-factor authentication for administrators.
alter table users
add column if not exists two_factor_secret text,
add column if not exists two_factor_enabled boolean not null default false,
add column if not exists two_factor_backup_codes jsonb not null default '[]'::jsonb;