pull/244/head
origami-owo 2024-11-02 01:38:50 +08:00
parent a7d4710702
commit 0f426b9c19
2 changed files with 1 additions and 2 deletions

View File

@ -26,7 +26,7 @@ export class CacheflyAccess extends BaseAccess {
@AccessInput({ @AccessInput({
title: 'totp key', title: 'totp key',
component: { component: {
placeholder: '两步验证 key', placeholder: 'totp key',
}, },
encrypt: true, encrypt: true,
}) })

View File

@ -69,7 +69,6 @@ export class CacheFlyPlugin extends AbstractTaskPlugin {
otp = response; otp = response;
this.logger.info('获取到otp:', otp); this.logger.info('获取到otp:', otp);
} }
this.logger.info('获取到otp:', otp);
const loginResponse = await this.doRequestApi(`${this.baseApi}/api/2.6/auth/login`, { const loginResponse = await this.doRequestApi(`${this.baseApi}/api/2.6/auth/login`, {
username: access.username, username: access.username,
password: access.password, password: access.password,