From 7145e3ea885ea0ad53fe5456c66c98849ac982c1 Mon Sep 17 00:00:00 2001 From: Hinton Date: Mon, 15 Jun 2020 18:54:32 +0200 Subject: [PATCH] On create default ViewPassword to true. --- src/Core/Models/Api/Request/CipherRequestModel.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Core/Models/Api/Request/CipherRequestModel.cs b/src/Core/Models/Api/Request/CipherRequestModel.cs index 4f3c044901..5ffa9c0a26 100644 --- a/src/Core/Models/Api/Request/CipherRequestModel.cs +++ b/src/Core/Models/Api/Request/CipherRequestModel.cs @@ -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;