mirror of
https://github.com/bitwarden/server
synced 2025-12-24 04:03:25 +00:00
On create default ViewPassword to true.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user