Remove usage of feature flag for passkey unlock

This commit is contained in:
Eli Grubb
2026-03-26 12:37:53 -06:00
parent deff00b881
commit 33be62130a

View File

@@ -125,9 +125,7 @@ public class SyncController : Controller
var organizationIdsClaimingActiveUser = organizationClaimingActiveUser.Select(o => o.Id);
var organizationAbilities = await GetOrganizationAbilitiesAsync(ciphers);
var webAuthnCredentials = _featureService.IsEnabled(FeatureFlagKeys.PM2035PasskeyUnlock)
? await _webAuthnCredentialRepository.GetManyByUserIdAsync(user.Id)
: [];
var webAuthnCredentials = await _webAuthnCredentialRepository.GetManyByUserIdAsync(user.Id);
UserAccountKeysData userAccountKeys = null;
// JIT TDE users and some broken/old users may not have a private key.