Skip to content

Commit 3d033e1

Browse files
authored
Remove usage of feature flag for passkey unlock (#7318)
Now that passkey unlock has been released, this change removes the logic related to the passkey unlock feature flag pm-2035-passkey-unlock. The feature flag itself will be removed in a future ticket.
1 parent 7c20581 commit 3d033e1

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Api/Vault/Controllers/SyncController.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,7 @@ await _providerUserRepository.GetManyOrganizationDetailsByUserAsync(user.Id,
126126
var organizationIdsClaimingActiveUser = organizationClaimingActiveUser.Select(o => o.Id);
127127

128128
var organizationAbilities = await GetOrganizationAbilitiesAsync(ciphers);
129-
var webAuthnCredentials = _featureService.IsEnabled(FeatureFlagKeys.PM2035PasskeyUnlock)
130-
? await _webAuthnCredentialRepository.GetManyByUserIdAsync(user.Id)
131-
: [];
129+
var webAuthnCredentials = await _webAuthnCredentialRepository.GetManyByUserIdAsync(user.Id);
132130

133131
UserAccountKeysData userAccountKeys = null;
134132
// JIT TDE users and some broken/old users may not have a private key.

0 commit comments

Comments
 (0)