summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/api/auth/[...nextauth]/route.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/api/auth/[...nextauth]/route.ts b/app/api/auth/[...nextauth]/route.ts
index d6ec807f..be50c022 100644
--- a/app/api/auth/[...nextauth]/route.ts
+++ b/app/api/auth/[...nextauth]/route.ts
@@ -126,6 +126,7 @@ function getClientIP(req: any): string {
}
export const authOptions: NextAuthOptions = {
+ trustHost: true,
providers: [
// ✅ OTP 로그인 - roles 정보 추가
CredentialsProvider({