Skip to content

Commit eb06caa

Browse files
committed
fix sign in
1 parent 0ab5c57 commit eb06caa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utilities/authentication.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ export function createJWT(userId: string) {
6464

6565
export function setCookie(token: string, ctx: Context) {
6666
ctx.res.cookie("token", token, {
67+
path: "/",
6768
httpOnly: true,
6869
secure: true,
6970
sameSite: "strict",

0 commit comments

Comments
 (0)