Add addHttpCookie to VerifyCsrfToken

This commit is contained in:
Barry vd. Heuvel
2018-07-03 16:37:01 +02:00
committed by GitHub
parent fe796d8806
commit 76af90b50c

View File

@@ -14,4 +14,11 @@ class VerifyCsrfToken extends Middleware
protected $except = [ protected $except = [
// //
]; ];
/**
* Indicates whether the XSRF-TOKEN cookie should be set on the response.
*
* @var bool
*/
protected $addHttpCookie = true;
} }