mirror of
https://github.com/certd/certd.git
synced 2026-05-18 06:17:31 +08:00
fix
This commit is contained in:
@@ -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,
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user