测试增加邮件认证-修复

This commit is contained in:
sijinhui
2024-03-22 16:53:37 +08:00
parent cf930bcb9a
commit 5dd6f713c5
2 changed files with 7 additions and 2 deletions

View File

@@ -10,8 +10,8 @@ const SECURE_COOKIES:boolean = !!process.env.SECURE_COOKIES;
export const authOptions: NextAuthOptions = {
debug: true,
// debug: !SECURE_COOKIES,
// debug: true,
debug: !SECURE_COOKIES,
useSecureCookies: SECURE_COOKIES,
secret: process.env.NEXTAUTH_SECRET,
providers: [