Browse Source

correct noop implementation

pull/95/head
Kyle Spearrin 8 years ago
parent
commit
d65f641609
  1. 12
      src/Core/Services/NoopImplementations/NoopLicensingService.cs

12
src/Core/Services/NoopImplementations/NoopLicensingService.cs

@ -18,19 +18,19 @@ namespace Bit.Core.Services
} }
} }
public bool VerifyLicense(ILicense license) public Task ValidateOrganizationsAsync()
{ {
return true; return Task.FromResult(0);
} }
public bool VerifyOrganizationPlan(Organization organization) public Task<bool> ValidateUserPremiumAsync(User user)
{ {
return true; return Task.FromResult(user.Premium);
} }
public Task<bool> ValidateUserPremiumAsync(User user) public bool VerifyLicense(ILicense license)
{ {
return Task.FromResult(user.Premium); return true;
} }
public byte[] SignLicense(ILicense license) public byte[] SignLicense(ILicense license)

Loading…
Cancel
Save