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