Skip to content

Commit

Permalink
[TL-DYS-62] (#42)
Browse files Browse the repository at this point in the history
* Fix cookies v1

* Fix cookies v2
  • Loading branch information
Kevin-Umali authored Oct 21, 2023
1 parent ae22f23 commit 451eff6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions client/app/login/loading.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import PageLoader from "@/components/page-loader";

export default function Loading() {
return <PageLoader loaderMessage="Loading login/signup page" />;
}
2 changes: 1 addition & 1 deletion server/src/controllers/authentication.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const authorizeUser = async (req: BodyRequest<UserRequest>, res: Response
secure: process.env.NODE_ENV === "production",
httpOnly: true,
signed: true,
sameSite: "lax",
sameSite: "none",
expires: refreshTokenExpiry,
});

Expand Down

0 comments on commit 451eff6

Please sign in to comment.