Files
jelveh 0d18d5bfe9 fix: sync window.user.otp when enabling 2FA from the Dashboard
The disable path clears window.user.otp (in UIWindowDisable2FA), but the
enable path updated only the card's DOM, never the in-memory flag. TabSecurity
html() reads user.otp to decide the toggle/badge state, so after enabling 2FA
a re-render of the Security tab from the cached window.user showed it as
disabled for an account that actually had 2FA on.

Set window.user.otp = enabling on success so both directions stay consistent.
2026-07-16 19:50:37 -07:00
..
2026-07-16 18:03:34 -07:00
2026-07-09 08:54:04 +07:00
2026-07-16 15:52:37 -07:00