1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00

correct noop implementation

This commit is contained in:
Kyle Spearrin 2017-08-17 00:13:20 -04:00
parent 4585af5a85
commit d65f641609

View File

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