mirror of
https://github.com/bitwarden/server.git
synced 2025-05-20 19:14:32 -05: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 =>
|
.Where(p =>
|
||||||
!p.Name.Equals(nameof(Signature)) &&
|
!p.Name.Equals(nameof(Signature)) &&
|
||||||
!p.Name.Equals(nameof(SignatureBytes)) &&
|
!p.Name.Equals(nameof(SignatureBytes)) &&
|
||||||
|
!p.Name.Equals(nameof(LicenseType)) &&
|
||||||
// UsersGetPremium was added in Version 2
|
// UsersGetPremium was added in Version 2
|
||||||
(Version >= 2 || !p.Name.Equals(nameof(UsersGetPremium))) &&
|
(Version >= 2 || !p.Name.Equals(nameof(UsersGetPremium))) &&
|
||||||
// UseEvents was added in Version 3
|
// UseEvents was added in Version 3
|
||||||
|
@ -85,6 +85,7 @@ namespace Bit.Core.Models.Business
|
|||||||
.Where(p =>
|
.Where(p =>
|
||||||
!p.Name.Equals(nameof(Signature)) &&
|
!p.Name.Equals(nameof(Signature)) &&
|
||||||
!p.Name.Equals(nameof(SignatureBytes)) &&
|
!p.Name.Equals(nameof(SignatureBytes)) &&
|
||||||
|
!p.Name.Equals(nameof(LicenseType)) &&
|
||||||
(
|
(
|
||||||
!forHash ||
|
!forHash ||
|
||||||
(
|
(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user