Commit Graph
3 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 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