Challenge: Only show captcha if requested
Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
parent
8383157f11
commit
26d56c2fcc
1 changed files with 5 additions and 1 deletions
|
@ -267,7 +267,11 @@ export class ChallengeHandler {
|
||||||
data.options?.includes('recaptcha')
|
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) {
|
if (!challenge.token) {
|
||||||
|
|
Loading…
Reference in a new issue