Commit Graph
6 Commits
Author SHA1 Message Date
Mike Cao 8d0229b598 Remove autogenerated operation descriptions from OpenAPI contracts 2026-09-01 16:07:08 -07:00
Mike Cao e1a4934038 Generate explicit OpenAPI contracts for API routes 2026-09-01 15:09:10 -07:00
Francis Cao 0a77e50da1 Harden 2FA APi routes and UI when 2FA env var missing. Closes #4443. 2026-08-14 10:32:09 -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
Francis Cao 8b0492384f disable self-hosted 2FA in cloud mode. 2026-08-03 13:46:54 -07:00
Rudy B. 7c51e1ce4a feat(2FA): create API routes for users 2026-04-25 01:40:06 +02:00