Skip to content

Commit 7039435

Browse files
committed
fixes csrf
1 parent cf7d42c commit 7039435

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Lemon/Http/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function send(Application $app): static
113113
$body = $this->parseBody();
114114
$this->handleHeaders();
115115
$this->handleStatusCode();
116-
$this->handleCookies($app->has('cookies') ? $app->get('cookies')->cookies() : []);
116+
$this->handleCookies($app->get(CookieJar::class)->cookies());
117117
$this->handleBody($body);
118118

119119
return $this;

src/Lemon/Kernel/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ final class Application extends Container
4040
/**
4141
* Current Lemon version.
4242
*/
43-
public const VERSION = '3.15.1';
43+
public const VERSION = '3.15.2';
4444

4545
/**
4646
* Default units with aliases.

0 commit comments

Comments
 (0)