fix(frontend): Captcha のエラーハンドリングを修正 (MisskeyIO#768)
This commit is contained in:
parent
65854911bc
commit
88912d0f8c
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user