Summary
Setting up an MFA method does not invalidate the cache properly
Steps to reproduce
- Precondition: user has no mfa methods configured
- Go to user profile
- Setup a new MFA method (e.g. TOTP)
- After relogin go again to user profile
- Click on the Two-factor methods context menu
Expected behavior
"Disable all" option should be displayed
Actual behavior
"Enable" option is displayed
Defguard version
Core 2.0
Environment details
Nixos 26.05.20260312.fe416aa (Yarara)
Deployment / install method
Custom
Relevant logs / output
Relevant configuration (redacted)
Summary
Setting up an MFA method does not invalidate the cache properly
Steps to reproduce
Expected behavior
"Disable all" option should be displayed
Actual behavior
"Enable" option is displayed
Defguard version
Core 2.0
Environment details
Nixos 26.05.20260312.fe416aa (Yarara)
Deployment / install method
Custom
Relevant logs / output
Relevant configuration (redacted)