Skip to content

Commit

Permalink
restored jwt for sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
yarinsn committed Sep 18, 2024
1 parent 7f4c25a commit e1bbf30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/api/auth/[...nextauth].js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ export const authOptions = {
// pages: {
// signIn: "/auth/signin", // Customize the sign-in page if needed
// },
// session: {
// jwt: true, // Use JWT for sessions
// },
session: {
jwt: true, // Use JWT for sessions
},
};

export default NextAuth(authOptions);

0 comments on commit e1bbf30

Please sign in to comment.