Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

Commit

Permalink
Define all Cookie arguments explicitly
Browse files Browse the repository at this point in the history
This adds support for Symfony 4.2, which deprecates not defining all the arguments as some of their default values are scheduled to change in Symfony 5.0.
  • Loading branch information
Ismael Ambrosi committed Dec 17, 2018
1 parent 4d50e23 commit 5a821bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion EventListener/AngularCsrfCookieListener.php
Expand Up @@ -102,7 +102,9 @@ public function onKernelResponse(FilterResponseEvent $event)
$this->cookiePath,
$this->cookieDomain,
$this->cookieSecure,
false
false /** httpOnly */,
false /** raw */,
null /** sameSite */
));
}
}

0 comments on commit 5a821bb

Please sign in to comment.