fix: NextAuth 支持多域名登录 (trustHost + production URL)
This commit is contained in:
@@ -25,6 +25,7 @@ function checkLoginRateLimit(email: string): boolean {
|
||||
}
|
||||
|
||||
export const authOptions = {
|
||||
trustHost: true,
|
||||
providers: [
|
||||
CredentialsProvider({
|
||||
name: "credentials",
|
||||
|
||||
Reference in New Issue
Block a user