mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-02 08:06:38 +08:00
测试增加邮件认证-debug
This commit is contained in:
parent
f34375f13b
commit
e692b34093
@ -10,8 +10,8 @@ const SECURE_COOKIES:boolean = !!process.env.SECURE_COOKIES;
|
||||
|
||||
|
||||
export const authOptions: NextAuthOptions = {
|
||||
// debug: !VERCEL_DEPLOYMENT,
|
||||
debug: !SECURE_COOKIES,
|
||||
debug: true,
|
||||
// debug: !SECURE_COOKIES,
|
||||
useSecureCookies: SECURE_COOKIES,
|
||||
secret: process.env.NEXTAUTH_SECRET,
|
||||
providers: [
|
||||
|
Loading…
Reference in New Issue
Block a user