From dbdae213e39b82ff8ee565df0774bd2f72f06140 Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Fri, 22 Aug 2025 03:11:57 +0000 Subject: (김준회) 로그인 에러 토스트 메시지 개선, 중공업 유저의 협력사 유저 추가/수정시 전화번호 사용 반영 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/auth/first-auth/route.ts | 46 ++++++++++++++++++++++++++++++++++------ 1 file changed, 40 insertions(+), 6 deletions(-) (limited to 'app/api/auth') diff --git a/app/api/auth/first-auth/route.ts b/app/api/auth/first-auth/route.ts index ff92e71c..e8d86a02 100644 --- a/app/api/auth/first-auth/route.ts +++ b/app/api/auth/first-auth/route.ts @@ -18,6 +18,7 @@ interface FirstAuthResponse { userId?: number email?: string error?: string + errorCode?: string } export async function POST(request: NextRequest): Promise> { @@ -63,19 +64,52 @@ export async function POST(request: NextRequest): Promise