mirror of https://github.com/certd/certd
fix: 修复启动报授权验证失败的bug
parent
f5b423c351
commit
3460d3ddca
|
@ -53,6 +53,9 @@ export class PlusService {
|
||||||
const licenseInfo: SysLicenseInfo = await this.sysSettingsService.getSetting(SysLicenseInfo);
|
const licenseInfo: SysLicenseInfo = await this.sysSettingsService.getSetting(SysLicenseInfo);
|
||||||
const installInfo: SysInstallInfo = await this.sysSettingsService.getSetting(SysInstallInfo);
|
const installInfo: SysInstallInfo = await this.sysSettingsService.getSetting(SysInstallInfo);
|
||||||
|
|
||||||
|
if (!licenseInfo.license) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
const verifyRes = await verify({
|
const verifyRes = await verify({
|
||||||
subjectId: installInfo.siteId,
|
subjectId: installInfo.siteId,
|
||||||
license: licenseInfo.license,
|
license: licenseInfo.license,
|
||||||
|
|
Loading…
Reference in New Issue