Set the captcha error handling dangerously

This commit is contained in:
Regalijan 2024-03-25 20:48:13 -04:00
parent 00bbe6111e
commit 618c1af643
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -359,8 +359,9 @@ export default function () {
</CircularProgress>
</HStack>
</Container>
<script>
{`
<script
dangerouslySetInnerHTML={{
__html: `
function onTurnstileError(code) {
const messages = {
110500: 'Your browser is too old to complete the captcha, please update it.',
@ -376,8 +377,9 @@ export default function () {
return true;
}
`}
</script>
`,
}}
></script>
</>
);
}