Commit Graph
11 Commits
Author SHA1 Message Date
Mike Cao f1c5b4f7bb Add account API key management 2026-09-01 21:50:07 -07:00
Mike Cao eea124bbf8 Migrate UI theme variables to react-zen tokens and update dependency package 2026-08-24 17:02:57 -07:00
NoiceHax a40b418038 fix(2fa): gate two-factor auth when the encryption key is missing
TWO_FACTOR_ENCRYPTION_KEY has no default, so instances upgrading to 3.3
without setting it hit an unhandled throw from encryptSecret: the setup
dialog only reported "Something went wrong", and where 2FA was required
the blocking dialog made the whole app unusable. The status endpoint now
reports 2FA as not required while the key is missing or invalid, and
setup initiation returns 503 with a two-factor-error-not-configured code
that the setup dialog renders as a readable message. Also documents the
variable in the README and the example compose file.

Closes #4443
2026-08-13 22:39:31 +05:30
Mike Cao 0941ea06f9 Wrap dialogs with ControlledDialog for consistent modal state management 2026-07-30 22:57:49 -07:00
Mike Cao 6ac2b9377c Upgrade react-zen and migrate UI components to its updated APIs 2026-07-30 22:35:20 -07:00
Rudy B. a9a873c293 fix(2FA): increase backup codes length for improved security 2026-04-25 12:20:47 +02:00
Rudy B. 6c6765291f chore(2FA): get rid of empty onOpenChange 2026-04-25 12:13:15 +02:00
Rudy B. b86d48d08c refactor(2FA): use CSS module instead of inline style 2026-04-25 12:11:14 +02:00
Rudy B. 0795833135 fix(2FA): add missing translation for backup codes file 2026-04-25 12:06:50 +02:00
Rudy B. d77ba4f7b5 refactor(2FA): use onSuccess and onError instead of .then().catch() 2026-04-25 11:58:32 +02:00
Rudy B. 96bdafac80 feat(2FA): create modals (setup/disable/success) 2026-04-25 01:40:06 +02:00