Set the captcha error handling dangerously
This commit is contained in:
parent
00bbe6111e
commit
618c1af643
@ -359,8 +359,9 @@ export default function () {
|
|||||||
</CircularProgress>
|
</CircularProgress>
|
||||||
</HStack>
|
</HStack>
|
||||||
</Container>
|
</Container>
|
||||||
<script>
|
<script
|
||||||
{`
|
dangerouslySetInnerHTML={{
|
||||||
|
__html: `
|
||||||
function onTurnstileError(code) {
|
function onTurnstileError(code) {
|
||||||
const messages = {
|
const messages = {
|
||||||
110500: 'Your browser is too old to complete the captcha, please update it.',
|
110500: 'Your browser is too old to complete the captcha, please update it.',
|
||||||
@ -376,8 +377,9 @@ export default function () {
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
`}
|
`,
|
||||||
</script>
|
}}
|
||||||
|
></script>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user