mirror of
https://github.com/bitwarden/server
synced 2025-12-10 05:13:48 +00:00
Fix license signature containing LicenseType (#1917)
This commit is contained in:
@@ -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 ||
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user