mirror of https://github.com/certd/certd
fix
parent
a7d4710702
commit
0f426b9c19
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue