From 638144506b95cdf2fca59516b0505f253d73ca48 Mon Sep 17 00:00:00 2001 From: ZhuiGuangAI Dev Date: Fri, 2 Oct 2026 23:10:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20NextAuth=20=E6=94=AF=E6=8C=81=E5=A4=9A?= =?UTF-8?q?=E5=9F=9F=E5=90=8D=E7=99=BB=E5=BD=95=20(trustHost=20+=20product?= =?UTF-8?q?ion=20URL)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/auth.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/auth.ts b/src/lib/auth.ts index 62e16d7..c15b894 100644 --- a/src/lib/auth.ts +++ b/src/lib/auth.ts @@ -25,6 +25,7 @@ function checkLoginRateLimit(email: string): boolean { } export const authOptions = { + trustHost: true, providers: [ CredentialsProvider({ name: "credentials",