mirror of
https://github.com/certd/certd.git
synced 2026-04-15 05:00:52 +08:00
chore: docs
This commit is contained in:
@@ -58,6 +58,10 @@ export class SynologyDeployToPanel extends AbstractPlusTaskPlugin {
|
||||
async onInstance() {}
|
||||
async execute(): Promise<void> {
|
||||
const access: SynologyAccess = await this.getAccess<SynologyAccess>(this.accessId);
|
||||
if (access.deviceId){
|
||||
this.logger.warn(`检测到您开启了二次认证,建议将证书申请任务的更新天数修改为65天,以保证每个月在群辉部署执行一次,刷新二次认证的有效期`);
|
||||
}
|
||||
|
||||
const client = new SynologyClient(access as any, this.ctx.http, this.ctx.logger, access.skipSslVerify);
|
||||
// await client.init();
|
||||
await client.doLogin();
|
||||
|
||||
Reference in New Issue
Block a user