1
0
mirror of https://github.com/bitwarden/server synced 2025-12-29 22:54:00 +00:00

Merge pull request #780 from Hinton/hotfix/hidden-password-default

On create default ViewPassword to true
This commit is contained in:
Chad Scharf
2020-06-15 13:36:13 -04:00
committed by GitHub

View File

@@ -47,7 +47,8 @@ namespace Bit.Core.Models.Api
Type = Type,
UserId = !hasOrgId ? (Guid?)userId : null,
OrganizationId = allowOrgIdSet && hasOrgId ? new Guid(OrganizationId) : (Guid?)null,
Edit = true
Edit = true,
ViewPassword = true,
};
ToCipherDetails(cipher);
return cipher;