Skip to content

Commit

Permalink
fix(frontend): Captcha のエラーハンドリングを修正 (MisskeyIO#768)
Browse files Browse the repository at this point in the history
  • Loading branch information
riku6460 authored Oct 20, 2024
1 parent 6585491 commit 88912d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/frontend/src/components/MkCaptcha.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ async function requestRender() {
sitekey: props.sitekey,
theme: defaultStore.state.darkMode ? 'dark' : 'light',
callback: callback,
'expired-callback': callback,
'error-callback': callback,
'expired-callback': () => callback(undefined),
'error-callback': () => callback(undefined),
});
} else if (props.provider === 'mcaptcha' && props.instanceUrl && props.sitekey) {
const { default: Widget } = await import('@mcaptcha/vanilla-glue');
Expand Down

0 comments on commit 88912d0

Please sign in to comment.