mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 09:02:48 -05:00
null check on license key
This commit is contained in:
@ -188,7 +188,7 @@ namespace Bit.Core.Models.Business
|
||||
{
|
||||
var valid =
|
||||
globalSettings.Installation.Id == InstallationId &&
|
||||
organization.LicenseKey.Equals(LicenseKey) &&
|
||||
organization.LicenseKey != null && organization.LicenseKey.Equals(LicenseKey) &&
|
||||
organization.Enabled == Enabled &&
|
||||
organization.PlanType == PlanType &&
|
||||
organization.Seats == Seats &&
|
||||
|
Reference in New Issue
Block a user