diff options
| author | joonhoekim <26rote@gmail.com> | 2025-10-14 17:24:40 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-10-14 17:24:40 +0900 |
| commit | 6892880c16af3eb0027a77c9695b2fe462b4761e (patch) | |
| tree | a650a131cf46af00048b10db873eea70dc7196cd /lib/users | |
| parent | b61931f50ba63f9a91ac8eb01fd91aa6e2fb6119 (diff) | |
(김준회) S-GIPS 유저 로그인 SMS 송신 오류 개선 및 로깅 추가
Diffstat (limited to 'lib/users')
| -rw-r--r-- | lib/users/auth/verifyCredentails.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/users/auth/verifyCredentails.ts b/lib/users/auth/verifyCredentails.ts index ff8f9596..64bf9b28 100644 --- a/lib/users/auth/verifyCredentails.ts +++ b/lib/users/auth/verifyCredentails.ts @@ -19,6 +19,7 @@ import { } from '@/db/schema'; import { headers } from 'next/headers'; import { verifySmsToken } from './passwordUtil'; +import { debugSuccess } from '@/lib/debug-utils'; // 에러 타입 정의 export type AuthError = @@ -602,7 +603,7 @@ export async function verifySGipsCredentials( .where(eq(users.id, localUser[0].id)); userId = localUser[0].id; - console.log(`S-GIPS 사용자 정보 업데이트: ${otpUser.email} - phone: ${otpUser.phone}`); + debugSuccess('S-GIPS 사용자 정보 업데이트', { email: otpUser.email, phone: otpUser.phone }); } return { |
