Skip to content

Commit

Permalink
Adds SameSite attribute for cookies (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
sikhlana authored May 31, 2021
1 parent 54e6677 commit 7260b83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Swoole/SwooleClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ public function sendResponseHeaders(Response $response, SwooleResponse $swooleRe
$cookie->getPath(),
$cookie->getDomain(),
$cookie->isSecure(),
$cookie->isHttpOnly()
$cookie->isHttpOnly(),
$cookie->getSameSite()
);
}
}
Expand Down

0 comments on commit 7260b83

Please sign in to comment.