Update License
This commit is contained in:
parent
6fabd843d2
commit
99d263e65c
@ -73,8 +73,7 @@ func (u *AuthServiceImpl) AuthenticateUser(ctx context.Context, email, password
|
||||
}
|
||||
|
||||
licensePartner = partnerLicense.ToPartnerLicense()
|
||||
if licensePartner.LicenseStatus == "EXPIRED"
|
||||
|| licensePartner.LicenseStatus == "INACTIVE" {
|
||||
if licensePartner.LicenseStatus == "EXPIRED" || licensePartner.LicenseStatus == "INACTIVE" {
|
||||
return nil, errors.ErrorInvalidLicense
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user