Resolve all passwords being hidden after upgrade (#977)

This commit is contained in:
Oscar Hinton 2020-06-12 15:50:36 +02:00 committed by GitHub
parent 62afc023c8
commit c5f158f1cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ namespace Bit.Core.Models.Data
public string FolderId { get; set; }
public string UserId { get; set; }
public bool Edit { get; set; }
public bool ViewPassword { get; set; }
public bool ViewPassword { get; set; } = true; // Fallback for old server versions
public bool OrganizationUseTotp { get; set; }
public bool Favorite { get; set; }
public DateTime RevisionDate { get; set; }