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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

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