mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-21 16:26:58 +08:00
chore: ignore empty key
This commit is contained in:
@@ -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