diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-10-29 01:58:40 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-10-29 01:58:40 +0000 |
| commit | 5202c4b56d9565c7ac0c2a62255763462cef0d3d (patch) | |
| tree | cce1b09818dc4e1b0787b477f0b37dfb40c27245 /lib/users/auth/email-auth.ts | |
| parent | 5b0994f2af11c77b61ac59df6211ccb20fae4d44 (diff) | |
(임수민) 데이터룸 요청사항 반영
Diffstat (limited to 'lib/users/auth/email-auth.ts')
| -rw-r--r-- | lib/users/auth/email-auth.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/users/auth/email-auth.ts b/lib/users/auth/email-auth.ts index edd4a634..9b87add5 100644 --- a/lib/users/auth/email-auth.ts +++ b/lib/users/auth/email-auth.ts @@ -125,13 +125,15 @@ export async function checkEmailAndStartAuth(email: string): Promise<{ isActive: true, }); + const userLanguage = user.language || 'en'; + // OTP 이메일 전송 await sendEmail({ to: user.email, subject: '로그인 인증번호', template: 'otp', context: { - language: 'ko', + language: userLanguage, name: user.name, otp: otpCode, verificationUrl: '', |
