mirror of
https://github.com/bitwarden/server.git
synced 2024-11-26 12:55:17 +01:00
dont check UsersGetPremium for version 1 licenses
This commit is contained in:
parent
5c7ff94657
commit
f7cb6e403d
@ -113,6 +113,8 @@ namespace Bit.Core.Models.Business
|
||||
.Where(p =>
|
||||
!p.Name.Equals(nameof(Signature)) &&
|
||||
!p.Name.Equals(nameof(SignatureBytes)) &&
|
||||
// UsersGetPremium was added in Version 2
|
||||
(Version == 1 || !p.Name.Equals(nameof(UsersGetPremium))) &&
|
||||
(
|
||||
!forHash ||
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user