diff --git a/web/src/components/auth/LoginForm.js b/web/src/components/auth/LoginForm.js index b9c62eef..fb5104e1 100644 --- a/web/src/components/auth/LoginForm.js +++ b/web/src/components/auth/LoginForm.js @@ -362,17 +362,6 @@ const LoginForm = () => { - - {turnstileEnabled && ( -
- { - setTurnstileToken(token); - }} - /> -
- )} ); @@ -528,6 +517,17 @@ const LoginForm = () => { ? renderEmailLoginForm() : renderOAuthOptions()} {renderWeChatLoginModal()} + + {turnstileEnabled && ( +
+ { + setTurnstileToken(token); + }} + /> +
+ )} ); diff --git a/web/src/components/auth/RegisterForm.js b/web/src/components/auth/RegisterForm.js index 217d4bcb..322b4990 100644 --- a/web/src/components/auth/RegisterForm.js +++ b/web/src/components/auth/RegisterForm.js @@ -368,17 +368,6 @@ const RegisterForm = () => { - - {turnstileEnabled && ( -
- { - setTurnstileToken(token); - }} - /> -
- )} ); @@ -568,6 +557,17 @@ const RegisterForm = () => { ? renderEmailRegisterForm() : renderOAuthOptions()} {renderWeChatLoginModal()} + + {turnstileEnabled && ( +
+ { + setTurnstileToken(token); + }} + /> +
+ )} );