pref: 日志中加密授权信息输出替换成星号

This commit is contained in:
xiaojunnuo
2025-04-12 00:14:55 +08:00
parent 3d9620abb0
commit 759cfdaabd
46 changed files with 122 additions and 88 deletions
@@ -66,7 +66,7 @@ export class GcoreflushPlugin extends AbstractTaskPlugin {
async execute(): Promise<void> {
const { cert, accessId } = this;
const access = (await this.accessService.getById(accessId)) as GcoreAccess;
const access = (await this.getAccess(accessId)) as GcoreAccess;
let otp = null;
if (access.otpkey) {
const response = await this.http.request<any, any>({
@@ -62,7 +62,7 @@ export class GcoreuploadPlugin extends AbstractTaskPlugin {
async execute(): Promise<void> {
const { cert, accessId } = this;
const access = (await this.accessService.getById(accessId)) as GcoreAccess;
const access = (await this.getAccess(accessId)) as GcoreAccess;
let otp = null;
if (access.otpkey) {
const response = await this.http.request<any, any>({