Skip to content

Commit

Permalink
Merge pull request #39 from andreciornavei/develop
Browse files Browse the repository at this point in the history
set samesite as none
  • Loading branch information
andreciornavei authored Mar 7, 2024
2 parents ef297f0 + b52b774 commit bb1f6f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/Http/Controllers/AuthLoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function handler(Request $request)
$response = new Response(json_encode(auth()->user()));
return $response
->withHeaders(['Cache-Control' => 'no-cache, private'])
->withCookie(cookie("Authorization", $token, 3600, null, null, false, true));
->withCookie(cookie("Authorization", $token, 60, null, null, false, true, false, "none"));
} catch (Exception $error) {
return response()->json(json_decode($error->getMessage()), 401);
}
Expand Down

0 comments on commit bb1f6f1

Please sign in to comment.