diff --git a/src/components/Forms/EmailLoginForm/index.tsx b/src/components/Forms/EmailLoginForm/index.tsx index dbcc288f42..93fd2da755 100644 --- a/src/components/Forms/EmailLoginForm/index.tsx +++ b/src/components/Forms/EmailLoginForm/index.tsx @@ -202,7 +202,12 @@ export const EmailLoginForm: React.FC = ({ await sendCode({ variables: { - input: { email: values.email, type: 'email_otp', redirectUrl }, + input: { + email: values.email, + type: 'email_otp', + redirectUrl, + language: lang, + }, }, }) setCountdown(SEND_CODE_COUNTDOWN) diff --git a/src/components/Forms/EmailSignUpForm/Init.tsx b/src/components/Forms/EmailSignUpForm/Init.tsx index ed5e761429..0d79e7eab4 100644 --- a/src/components/Forms/EmailSignUpForm/Init.tsx +++ b/src/components/Forms/EmailSignUpForm/Init.tsx @@ -111,6 +111,7 @@ const Init: React.FC = ({ ? `${reCaptchaToken} ${turnstileToken}` : reCaptchaToken, redirectUrl, + language: lang, }, }, })