Challenge: Only show captcha if requested

This commit is contained in:
Scott Nonnenberg
2024-05-29 04:18:10 +10:00
committed by GitHub
parent 11eb1782a7
commit fc2bccb6b6

View File

@@ -267,7 +267,11 @@ export class ChallengeHandler {
data.options?.includes('recaptcha')
)
) {
log.error(`${logId}: unexpected options ${JSON.stringify(data.options)}`);
const dataString = JSON.stringify(data.options);
log.error(
`${logId}: unexpected options ${dataString}. ${conversationId} is waiting.`
);
return;
}
if (!challenge.token) {