mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
[Provider] Include disabled providers in sync response (#1471)
This commit is contained in:
parent
8e7f45460a
commit
19c2b025d1
@ -31,7 +31,7 @@ namespace Bit.Core.Models.Api
|
||||
PrivateKey = user.PrivateKey;
|
||||
SecurityStamp = user.SecurityStamp;
|
||||
Organizations = organizationsUserDetails?.Select(o => new ProfileOrganizationResponseModel(o));
|
||||
Providers = providerUserDetails?.Where(p => p.Enabled).Select(p => new ProfileProviderResponseModel(p));
|
||||
Providers = providerUserDetails?.Select(p => new ProfileProviderResponseModel(p));
|
||||
ProviderOrganizations =
|
||||
providerUserOrganizationDetails?.Select(po => new ProfileProviderOrganizationResponseModel(po));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user