From cf579261b2c33fca1b4230bf0cbac3a1aa8b1115 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E3=81=8A=E3=81=95=E3=82=80=E3=81=AE=E3=81=B2=E3=81=A8?=
<46447427+samunohito@users.noreply.github.com>
Date: Thu, 19 Dec 2024 09:44:27 +0900
Subject: [PATCH] =?UTF-8?q?=E3=81=AA=E3=81=97=E3=81=A7=E3=82=82=E4=BF=9D?=
=?UTF-8?q?=E5=AD=98=E3=81=A7=E3=81=8D=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?=
=?UTF-8?q?=E3=81=97=E3=81=9F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
packages/frontend/src/pages/admin/bot-protection.vue | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/packages/frontend/src/pages/admin/bot-protection.vue b/packages/frontend/src/pages/admin/bot-protection.vue
index 07a744a6d5..24cf8a9ef0 100644
--- a/packages/frontend/src/pages/admin/bot-protection.vue
+++ b/packages/frontend/src/pages/admin/bot-protection.vue
@@ -13,7 +13,7 @@ SPDX-License-Identifier: AGPL-3.0-only
Turnstile
testCaptcha
{{ i18n.ts.none }} ({{ i18n.ts.notRecommended }})
-
+
@@ -145,7 +145,8 @@ const turnstileResponse = ref(null);
const testCaptchaResponse = ref(null);
const canSaving = computed((): boolean => {
- return (botProtectionForm.state.provider === 'hcaptcha' && !!hCaptchaResponse.value) ||
+ return (botProtectionForm.state.provider === null) ||
+ (botProtectionForm.state.provider === 'hcaptcha' && !!hCaptchaResponse.value) ||
(botProtectionForm.state.provider === 'mcaptcha' && !!mCaptchaResponse.value) ||
(botProtectionForm.state.provider === 'recaptcha' && !!reCaptchaResponse.value) ||
(botProtectionForm.state.provider === 'turnstile' && !!turnstileResponse.value) ||