We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6585491 commit 88912d0Copy full SHA for 88912d0
packages/frontend/src/components/MkCaptcha.vue
@@ -100,8 +100,8 @@ async function requestRender() {
100
sitekey: props.sitekey,
101
theme: defaultStore.state.darkMode ? 'dark' : 'light',
102
callback: callback,
103
- 'expired-callback': callback,
104
- 'error-callback': callback,
+ 'expired-callback': () => callback(undefined),
+ 'error-callback': () => callback(undefined),
105
});
106
} else if (props.provider === 'mcaptcha' && props.instanceUrl && props.sitekey) {
107
const { default: Widget } = await import('@mcaptcha/vanilla-glue');
0 commit comments