Skip to content
Snippets Groups Projects
Commit f3ca3423 authored by Ashley Graves's avatar Ashley Graves
Browse files

Update index.vue - Also check enableMcaptcha for noBotProtection

parent c2e02a4c
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ const view = ref(null); ...@@ -59,7 +59,7 @@ const view = ref(null);
const el = ref<HTMLDivElement | null>(null); const el = ref<HTMLDivElement | null>(null);
const pageProps = ref({}); const pageProps = ref({});
let noMaintainerInformation = isEmpty(instance.maintainerName) || isEmpty(instance.maintainerEmail); 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; let noEmailServer = !instance.enableEmail;
const thereIsUnresolvedAbuseReport = ref(false); const thereIsUnresolvedAbuseReport = ref(false);
const pendingUserApprovals = ref(false); const pendingUserApprovals = ref(false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment