From f3ca342318a4eb6886b9d9bcf8b539666a2130b0 Mon Sep 17 00:00:00 2001 From: Ashley Graves Date: Sat, 24 Feb 2024 17:12:53 +0000 Subject: [PATCH] Update index.vue - Also check enableMcaptcha for noBotProtection --- packages/frontend/src/pages/admin/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/pages/admin/index.vue b/packages/frontend/src/pages/admin/index.vue index 5a19e9a7c..d2d4e8be9 100644 --- a/packages/frontend/src/pages/admin/index.vue +++ b/packages/frontend/src/pages/admin/index.vue @@ -59,7 +59,7 @@ const view = ref(null); const el = ref(null); const pageProps = ref({}); let noMaintainerInformation = isEmpty(instance.maintainerName) || isEmpty(instance.maintainerEmail); -let noBotProtection = !instance.disableRegistration && !instance.enableHcaptcha && !instance.enableRecaptcha && !instance.enableTurnstile; +let noBotProtection = !instance.disableRegistration && !instance.enableHcaptcha && !instance.enableRecaptcha&& && !instance.enableMcaptcha && !instance.enableTurnstile; let noEmailServer = !instance.enableEmail; const thereIsUnresolvedAbuseReport = ref(false); const pendingUserApprovals = ref(false);