From 23be92e64c408ec0f9987b673124177fef2b3583 Mon Sep 17 00:00:00 2001 From: Nariman Jelveh Date: Thu, 28 Aug 2025 15:27:13 -0700 Subject: [PATCH] keep the signup button enabled by default --- src/gui/src/UI/UIWindowSignup.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/gui/src/UI/UIWindowSignup.js b/src/gui/src/UI/UIWindowSignup.js index 6734307b6..de184f35a 100644 --- a/src/gui/src/UI/UIWindowSignup.js +++ b/src/gui/src/UI/UIWindowSignup.js @@ -91,10 +91,10 @@ function UIWindowSignup(options){ // Turnstile widget if(window.gui_params?.turnstileSiteKey){ - h += `
`; - // Get Turnstile site key from configuration, with fallback - const turnstileSiteKey = window.gui_params?.turnstileSiteKey || '3x00000000000000000000FF'; - h += `
`; + h += `
`; + // appearance: always/execute/interaction-only + // docs: https://developers.cloudflare.com/turnstile/get-started/client-side-rendering/widget-configurations/?utm_source=chatgpt.com#appearance-modes + h += `
`; h += `
`; } @@ -157,8 +157,6 @@ function UIWindowSignup(options){ $(el_window).find('.signup-btn').prop('disabled', true); } }); - // Initially disable signup button until CAPTCHA is completed - $(el_window).find('.signup-btn').prop('disabled', true); } else { // If Turnstile isn't loaded yet, wait for it setTimeout(initTurnstile, 100);