diff options
| author | かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> | 2024-10-21 11:44:57 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-21 11:44:57 +0900 |
| commit | bc0c53b92b0ceba7617d9d02f54bbf7ccfc933d9 (patch) | |
| tree | 0669ba8a792fd469c4cb69055128f2c4736e981d /packages/frontend/src | |
| parent | fix(frontend): 通知の範囲指定が必要ない通知設定でも範囲... (diff) | |
| download | sharkey-bc0c53b92b0ceba7617d9d02f54bbf7ccfc933d9.tar.gz sharkey-bc0c53b92b0ceba7617d9d02f54bbf7ccfc933d9.tar.bz2 sharkey-bc0c53b92b0ceba7617d9d02f54bbf7ccfc933d9.zip | |
fix(frontend): Captcha のエラーハンドリング (#14811)
* fix(frontend): Captcha のエラーハンドリングを修正 (MisskeyIO#768)
(cherry picked from commit 88912d0f8c63a762fbb1d43e5c1abf4fd9fc05d4)
* Update Changelog
* typo
---------
Co-authored-by: riku6460 <17585784+riku6460@users.noreply.github.com>
Diffstat (limited to 'packages/frontend/src')
| -rw-r--r-- | packages/frontend/src/components/MkCaptcha.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/components/MkCaptcha.vue b/packages/frontend/src/components/MkCaptcha.vue index 82fc89e51c..264cf9af06 100644 --- a/packages/frontend/src/components/MkCaptcha.vue +++ b/packages/frontend/src/components/MkCaptcha.vue @@ -117,8 +117,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'); |