[Reset Password] Admin page updates (#1379)

This commit is contained in:
Vincent Salucci
2021-06-07 09:08:34 -05:00
committed by GitHub
parent fe1ffb6a22
commit f6236bea6f
4 changed files with 13 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ namespace Bit.Admin.Models
IEnumerable<Policy> policies)
{
Organization = org;
HasPublicPrivateKeys = org.PublicKey != null && org.PrivateKey != null;
UserCount = orgUsers.Count();
CipherCount = ciphers.Count();
CollectionCount = collections.Count();
@@ -39,5 +40,6 @@ namespace Bit.Admin.Models
public int CollectionCount { get; set; }
public int GroupCount { get; set; }
public int PolicyCount { get; set; }
public bool HasPublicPrivateKeys { get; set; }
}
}