Skip to content

Commit

Permalink
fixes csrf
Browse files Browse the repository at this point in the history
  • Loading branch information
tenmajkl committed Feb 17, 2023
1 parent cf7d42c commit 7039435
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Lemon/Http/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public function send(Application $app): static
$body = $this->parseBody();
$this->handleHeaders();
$this->handleStatusCode();
$this->handleCookies($app->has('cookies') ? $app->get('cookies')->cookies() : []);
$this->handleCookies($app->get(CookieJar::class)->cookies());
$this->handleBody($body);

return $this;
Expand Down
2 changes: 1 addition & 1 deletion src/Lemon/Kernel/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ final class Application extends Container
/**
* Current Lemon version.
*/
public const VERSION = '3.15.1';
public const VERSION = '3.15.2';

/**
* Default units with aliases.
Expand Down

0 comments on commit 7039435

Please sign in to comment.