mirror of
https://github.com/certd/certd.git
synced 2025-11-25 09:10:11 +08:00
fix: 修复启动报授权验证失败的bug
This commit is contained in:
@@ -53,6 +53,9 @@ export class PlusService {
|
||||
const licenseInfo: SysLicenseInfo = await this.sysSettingsService.getSetting(SysLicenseInfo);
|
||||
const installInfo: SysInstallInfo = await this.sysSettingsService.getSetting(SysInstallInfo);
|
||||
|
||||
if (!licenseInfo.license) {
|
||||
return;
|
||||
}
|
||||
const verifyRes = await verify({
|
||||
subjectId: installInfo.siteId,
|
||||
license: licenseInfo.license,
|
||||
|
||||
Reference in New Issue
Block a user