Commit Graph
11 Commits
Author SHA1 Message Date
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
Francis Cao 129681ebd7 fix: harden analytics writes and hide internal server errors from client 2026-06-22 22:07:07 -07:00
Mike Cao 475d9548de Reject oversized replay payloads and chunk recorder flushes 2026-06-10 23:18:50 -07:00
Mike Cao baba06c692 Added lib/password. Small tweaks. 2025-09-13 09:40:20 -07:00
Mike Cao f5c4e1b46e Layout changes. 2025-03-19 19:50:45 -07:00
Mike Cao 4c24e54fdd Consistent error responses. Updated login page. 2025-02-20 09:57:59 -08:00
Mike Cao 444b828bc9 Normalize fetch response. 2025-02-05 22:02:51 -08:00
Mike Cao fc4716a38d Added missing user delete route. 2025-02-03 19:34:09 -08:00
Mike Cao 5205551ca8 Converted admin, auth, me and realtime routes. 2025-01-28 22:29:03 -08:00
Mike Cao e51f182403 Convert teams api routes. 2025-01-24 23:34:02 -08:00
Mike Cao baa3851fb4 Convert /api/users. 2025-01-21 19:10:34 -08:00