mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
测试增加邮件认证-debug-3
This commit is contained in:
parent
f2a0a34f0d
commit
223c6980d0
10
lib/auth.ts
10
lib/auth.ts
@ -76,11 +76,11 @@ export const authOptions: NextAuthOptions = {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
pages: {
|
// pages: {
|
||||||
signIn: `/login`,
|
// signIn: `/login`,
|
||||||
// verifyRequest: `/login`,
|
// // verifyRequest: `/login`,
|
||||||
error: "/login", // Error code passed in query string as ?error=
|
// error: "/login", // Error code passed in query string as ?error=
|
||||||
},
|
// },
|
||||||
adapter: PrismaAdapter(prisma),
|
adapter: PrismaAdapter(prisma),
|
||||||
session: { strategy: "jwt", maxAge: 3 * 24 * 60 * 60 },
|
session: { strategy: "jwt", maxAge: 3 * 24 * 60 * 60 },
|
||||||
cookies: {
|
cookies: {
|
||||||
|
Loading…
Reference in New Issue
Block a user