diff options
| author | joonhoekim <26rote@gmail.com> | 2025-10-14 14:25:58 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-10-14 14:25:58 +0900 |
| commit | 2665c5916e75a0d6f16098a09ab3c187266dd936 (patch) | |
| tree | 88c932be864b3e9cf7746c2703b298fcaf4109db /lib/users/auth/verifyCredentails.ts | |
| parent | 40250c61031263606dd073ce7056a3e8e27f18d0 (diff) | |
(김준회) SGIPS 측에서 잘못 알려준 필드명 수정 (otpUsers --> OtpUsers)
Diffstat (limited to 'lib/users/auth/verifyCredentails.ts')
| -rw-r--r-- | lib/users/auth/verifyCredentails.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/users/auth/verifyCredentails.ts b/lib/users/auth/verifyCredentails.ts index b0cbd6c9..ff8f9596 100644 --- a/lib/users/auth/verifyCredentails.ts +++ b/lib/users/auth/verifyCredentails.ts @@ -537,7 +537,7 @@ export async function verifySGipsCredentials( // 2. S-Gips API 응답 확인 if (data.message === "success" && data.code === "0") { - const otpUsers = data.otpUsers || []; + const otpUsers = data.OtpUsers || data.otpUsers || []; if (otpUsers.length === 0) { return { success: false, error: 'NO_USERS_FOUND' }; |
