cloudstack/ui/src/config
dahn b16340399b fix: show re-enable 2FA button when is2faenabled is null/undefined
After disabling 2FA via setupUserTwoFactorAuthentication, the API may
return is2faenabled as null or undefined rather than boolean false.
The strict equality check (=== false) prevented the "Setup 2FA" button
from appearing in those cases, making it impossible to re-enable 2FA.

Change the check to a falsy check (!record.is2faenabled) so the button
is shown whenever 2FA is not enabled, regardless of whether the value
is false, null, or undefined.

Fixes: https://github.com/apache/cloudstack/issues/13233
2026-05-26 14:59:07 +02:00
..
section fix: show re-enable 2FA button when is2faenabled is null/undefined 2026-05-26 14:59:07 +02:00
eventBus.js UI: Upgrade to Vue3 library (#5151) 2022-03-09 09:47:09 -03:00
router.js Allow enforcing password change for a user after reset by admin (root/domain) (#12294) 2026-02-16 16:01:42 +05:30
settings.js UI: Upgrade to Vue3 library (#5151) 2022-03-09 09:47:09 -03:00