mirror of
https://github.com/bitwarden/server.git
synced 2025-02-23 03:01:23 +01:00
Fix license signature containing LicenseType (#1917)
This commit is contained in:
parent
eee5caf1f8
commit
e8cb8b67c9
@ -147,6 +147,7 @@ namespace Bit.Core.Models.Business
|
||||
.Where(p =>
|
||||
!p.Name.Equals(nameof(Signature)) &&
|
||||
!p.Name.Equals(nameof(SignatureBytes)) &&
|
||||
!p.Name.Equals(nameof(LicenseType)) &&
|
||||
// UsersGetPremium was added in Version 2
|
||||
(Version >= 2 || !p.Name.Equals(nameof(UsersGetPremium))) &&
|
||||
// UseEvents was added in Version 3
|
||||
|
@ -85,6 +85,7 @@ namespace Bit.Core.Models.Business
|
||||
.Where(p =>
|
||||
!p.Name.Equals(nameof(Signature)) &&
|
||||
!p.Name.Equals(nameof(SignatureBytes)) &&
|
||||
!p.Name.Equals(nameof(LicenseType)) &&
|
||||
(
|
||||
!forHash ||
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user