From 068bd8f083e338f5140754ca2bd9d4208ad4419c Mon Sep 17 00:00:00 2001 From: Pranav Date: Thu, 6 Nov 2025 19:12:53 -0800 Subject: [PATCH] Update comment --- .../v3/views/auth/signup/components/Signup/Form.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/app/javascript/v3/views/auth/signup/components/Signup/Form.vue b/app/javascript/v3/views/auth/signup/components/Signup/Form.vue index 16b7020de..c06db0824 100644 --- a/app/javascript/v3/views/auth/signup/components/Signup/Form.vue +++ b/app/javascript/v3/views/auth/signup/components/Signup/Form.vue @@ -24,10 +24,10 @@ const { t } = useI18n(); const hCaptcha = ref(null); const credentials = reactive({ - accountName: 'Raj', - fullName: 'Raj', - email: 'raj@chatwoot.com', - password: 'Raj@123', + accountName: '', + fullName: '', + email: '', + password: '', hCaptchaClientResponse: '', }); const didCaptchaReset = ref(false); @@ -149,7 +149,9 @@ const submit = async () => { return; } - // For invisible captcha, execute it first + // For invisible captcha, there is no user input. We have to execute it if when + // the user submits the form. If 99.9% Passive mode is enabled, the users won't + // be prompted to solve the captcha if (globalConfig.value.hCaptchaSiteKey && !credentials.hCaptchaClientResponse) { hCaptcha.value.execute(); return;