1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00

version > 1 on UsersGetPremium check

This commit is contained in:
Kyle Spearrin 2017-11-07 21:51:50 -05:00
parent f7cb6e403d
commit ed826f4b28

View File

@ -114,7 +114,7 @@ namespace Bit.Core.Models.Business
!p.Name.Equals(nameof(Signature)) &&
!p.Name.Equals(nameof(SignatureBytes)) &&
// UsersGetPremium was added in Version 2
(Version == 1 || !p.Name.Equals(nameof(UsersGetPremium))) &&
(Version > 1 || !p.Name.Equals(nameof(UsersGetPremium))) &&
(
!forHash ||
(