Skip to content

Commit

Permalink
Merge branch 'refs/heads/backend'
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 6, 2024
2 parents 4789d9b + d10ca6a commit 10b18ec
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion backend/dist/controllers/googleOAuth.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Controller extends rootController_1.default {
const result = yield googleOAuth_service_1.GoogleOAuthService.login(req.user);
res.cookie("tmAccessToken", result, {
httpOnly: true,
sameSite: "lax",
sameSite: "none",
secure: true,
});
res.redirect(envConfig_1.config.google.redirectUrl);
Expand Down
2 changes: 1 addition & 1 deletion backend/dist/controllers/user.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Controller extends rootController_1.default {
const result = yield user_service_1.UserService.login(email, password);
res.cookie("tmAccessToken", result, {
httpOnly: true,
sameSite: "lax",
sameSite: "none",
secure: true,
});
this.apiResponse(res, {
Expand Down
2 changes: 1 addition & 1 deletion backend/src/controllers/googleOAuth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Controller extends RootController {
const result: string = await GoogleOAuthService.login(req.user);
res.cookie("tmAccessToken", result, {
httpOnly: true,
sameSite: "lax",
sameSite: "none",
secure: true,
});
res.redirect(config.google.redirectUrl);
Expand Down
2 changes: 1 addition & 1 deletion backend/src/controllers/user.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Controller extends RootController {
const result = await UserService.login(email, password);
res.cookie("tmAccessToken", result, {
httpOnly: true,
sameSite: "lax",
sameSite: "none",
secure: true,
});
this.apiResponse(res, {
Expand Down

0 comments on commit 10b18ec

Please sign in to comment.