Simplify captcha response handling
This commit is contained in:
@@ -22,8 +22,7 @@ export class ChallengeMainHandler {
|
|||||||
|
|
||||||
log.info(
|
log.info(
|
||||||
'challengeMain.handleCaptcha: sending captcha response to ' +
|
'challengeMain.handleCaptcha: sending captcha response to ' +
|
||||||
`${handlers.length} handlers`,
|
`${handlers.length} handlers`
|
||||||
response
|
|
||||||
);
|
);
|
||||||
for (const resolve of handlers) {
|
for (const resolve of handlers) {
|
||||||
resolve(response);
|
resolve(response);
|
||||||
|
Reference in New Issue
Block a user