Skip to content

Commit

Permalink
update file
Browse files Browse the repository at this point in the history
  • Loading branch information
juancristobalgd1 authored Jun 8, 2024
1 parent 5c3fa2b commit 8c85c3c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/libraries/Middlewares/VerifyCsrfTokenMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ protected function isAxmRequest(): bool
*/
protected function addCookieToResponse()
{
$request = app()->request;
$config = config('session');
$this->newCookie($request, $config);
$this->newCookie(app()->request, config('session'));
}

/**
Expand Down

0 comments on commit 8c85c3c

Please sign in to comment.