From c82bb0c8f3d7d9d5d5a85938c693b86a94b429c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=86=8C=EC=9A=B8=EC=B9=98=ED=82=A8?= <90738604+soulchicken@users.noreply.github.com> Date: Tue, 3 Oct 2023 00:58:51 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=EB=B0=B1=EC=97=94=EB=93=9C=20=EC=9A=94?= =?UTF-8?q?=EA=B5=AC=EC=82=AC=ED=95=AD=EB=8C=80=EB=A1=9C=20=EC=86=8C?= =?UTF-8?q?=EC=85=9C=EB=A1=9C=EA=B7=B8=EC=9D=B8=EC=97=94=20password?= =?UTF-8?q?=EB=8A=94=20null?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/api/auth/[...nextauth].ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/api/auth/[...nextauth].ts b/src/pages/api/auth/[...nextauth].ts index a33f229..1a9b849 100644 --- a/src/pages/api/auth/[...nextauth].ts +++ b/src/pages/api/auth/[...nextauth].ts @@ -6,7 +6,6 @@ import NaverProvider from 'next-auth/providers/naver'; import KakaoProvider from 'next-auth/providers/kakao'; import CredentialsProvider from 'next-auth/providers/credentials'; import { credentialsLoginAPI } from '@/utils/api/accounts'; -// import { credentialsLoginAPI } from '@/utils/api/clientServer'; interface CustomSession extends Session { accessToken?: string; @@ -83,6 +82,7 @@ export const authOptions: NextAuthOptions = { body: JSON.stringify({ email: user.email, provider: account?.provider, + password: null, }), }); const data = await response.json();