From 6892880c16af3eb0027a77c9695b2fe462b4761e Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Tue, 14 Oct 2025 17:24:40 +0900 Subject: (김준회) S-GIPS 유저 로그인 SMS 송신 오류 개선 및 로깅 추가 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/users/auth/verifyCredentails.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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 { -- cgit v1.2.3