Skip to content

Commit fdb03e1

Browse files
committed
Fix TypeScript error in authOptions - use only NEXTAUTH_SECRET
1 parent 09808bf commit fdb03e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/lib/authOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ console.log(`[NextAuth] Configured ${providers.length} authentication providers`
5252

5353
export const authOptions: NextAuthOptions = {
5454
providers,
55-
secret: validatedAuthEnv.NEXTAUTH_SECRET || validatedAuthEnv.AUTH_SECRET,
55+
secret: validatedAuthEnv.NEXTAUTH_SECRET,
5656
session: {
5757
strategy: 'jwt' as const,
5858
},

0 commit comments

Comments
 (0)