Skip to content

Commit

Permalink
fix: remove cookie by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Bunyawat Naunnak committed Jul 3, 2024
1 parent 2d40566 commit 51e7c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/auth/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export async function GET(req: NextRequest) {
}

const token: string = await encrypt(users as object);
console.log("TOKEN P OAT : ",token);
console.log("TOKEN P OAT : ", token);

cookieStore.set("student_id", token, {
secure: true,
Expand Down

0 comments on commit 51e7c50

Please sign in to comment.