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()
|
licensePartner = partnerLicense.ToPartnerLicense()
|
||||||
if licensePartner.LicenseStatus == "EXPIRED"
|
if licensePartner.LicenseStatus == "EXPIRED" || licensePartner.LicenseStatus == "INACTIVE" {
|
||||||
|| licensePartner.LicenseStatus == "INACTIVE" {
|
|
||||||
return nil, errors.ErrorInvalidLicense
|
return nil, errors.ErrorInvalidLicense
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user