mirror of
https://github.com/bitwarden/server.git
synced 2025-02-17 02:01:53 +01:00
Merge pull request #780 from Hinton/hotfix/hidden-password-default
On create default ViewPassword to true
This commit is contained in:
commit
48d166e80e
@ -47,7 +47,8 @@ namespace Bit.Core.Models.Api
|
|||||||
Type = Type,
|
Type = Type,
|
||||||
UserId = !hasOrgId ? (Guid?)userId : null,
|
UserId = !hasOrgId ? (Guid?)userId : null,
|
||||||
OrganizationId = allowOrgIdSet && hasOrgId ? new Guid(OrganizationId) : (Guid?)null,
|
OrganizationId = allowOrgIdSet && hasOrgId ? new Guid(OrganizationId) : (Guid?)null,
|
||||||
Edit = true
|
Edit = true,
|
||||||
|
ViewPassword = true,
|
||||||
};
|
};
|
||||||
ToCipherDetails(cipher);
|
ToCipherDetails(cipher);
|
||||||
return cipher;
|
return cipher;
|
||||||
|
Loading…
Reference in New Issue
Block a user