Skip to content

Conversation

@srobakidze-dashlane
Copy link
Collaborator

Problem:

When 2FA is enforced by an admin, users are currently not blocked during login.
They can successfully log in, but:

  • Vault items are not accessible
  • The CLI cannot be used properly

This results in a confusing and broken user experience.

Solution

Block the user during the sync stage if:

  • 2FA is enforced by an admin
  • the 2FA setup has not been completed in the extension

In this case, the user is shown an explicit error message prompting them to:

  • Open the extension
  • Complete the required 2FA setup flow

Changes

  • Introduced twoFactorAuthEnforcedChecker to detect and block incomplete 2FA setups during sync

@srobakidze-dashlane srobakidze-dashlane force-pushed the feature/enforced-2fa-check branch 4 times, most recently from 1b78bea to 894889f Compare February 9, 2026 10:37
@srobakidze-dashlane srobakidze-dashlane merged commit 70b888a into master Feb 10, 2026
4 checks passed
@srobakidze-dashlane srobakidze-dashlane deleted the feature/enforced-2fa-check branch February 10, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants