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