Skip to content

Commit 88912d0

Browse files
authored
fix(frontend): Captcha のエラーハンドリングを修正 (#768)
1 parent 6585491 commit 88912d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/frontend/src/components/MkCaptcha.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ async function requestRender() {
100100
sitekey: props.sitekey,
101101
theme: defaultStore.state.darkMode ? 'dark' : 'light',
102102
callback: callback,
103-
'expired-callback': callback,
104-
'error-callback': callback,
103+
'expired-callback': () => callback(undefined),
104+
'error-callback': () => callback(undefined),
105105
});
106106
} else if (props.provider === 'mcaptcha' && props.instanceUrl && props.sitekey) {
107107
const { default: Widget } = await import('@mcaptcha/vanilla-glue');

0 commit comments

Comments
 (0)