mirror of
https://github.com/bitwarden/server.git
synced 2026-05-02 05:25:14 -05:00
Remove usage of feature flag for passkey unlock
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user