Challenge: remove obsolete option

This commit is contained in:
Chris Eager 2024-06-24 16:16:02 -05:00 committed by GitHub
parent 2478bf1bd3
commit 4e3c79fe25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -259,14 +259,7 @@ export class ChallengeHandler {
log.info(`${logId}: tracking ${conversationId} with no waitTime`);
}
if (
data &&
!(
data.options?.includes('captcha') ||
// 'recaptcha' is deprecated for removal in 90 days
data.options?.includes('recaptcha')
)
) {
if (data && !data.options?.includes('captcha')) {
const dataString = JSON.stringify(data.options);
log.error(
`${logId}: unexpected options ${dataString}. ${conversationId} is waiting.`