chore: ignore empty key
This commit is contained in:
1 parent
221c493c56
commit
33a014977a
1 file changed
+1
-1
@@ -149,7 +149,7 @@ export class LicenseController {
|
||||
throw new LicenseNotFound();
|
||||
}
|
||||
|
||||
if (license.validateKey && license.validateKey !== revalidateKey) {
|
||||
if (!license.validateKey || license.validateKey !== revalidateKey) {
|
||||
throw new InvalidLicenseToActivate({
|
||||
reason: 'Invalid validate key',
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user