Skip to content

Commit 2e75985

Browse files
recaptcha enabled only in cloud mode
1 parent a729fa5 commit 2e75985

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

components/Recaptcha.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@
1919
site_key: { type: String, required: true },
2020
})
2121
22-
onMounted(() => {
23-
if (import.meta.client) {
24-
if (process.env.NODE_ENV !== "production" || !infra_store.is_cloud) {
25-
infra_store.$patch({ is_captcha_validated: true })
26-
}
27-
}
28-
})
29-
3022
async function submit_recaptcha(token) {
3123
try {
3224
const response = await $fetch.raw(

0 commit comments

Comments
 (0)