Skip to content

[Bug]: MFA cache invalidation #2395

@j-chmielewski

Description

@j-chmielewski

Summary

Setting up an MFA method does not invalidate the cache properly

Steps to reproduce

  1. Precondition: user has no mfa methods configured
  2. Go to user profile
  3. Setup a new MFA method (e.g. TOTP)
  4. After relogin go again to user profile
  5. 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)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

Status

Ready to release

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions