Merge pull request #4692 from barryvdh/patch-4

[5.7] Add addHttpCookie to VerifyCsrfToken
This commit is contained in:
Taylor Otwell 2018-07-03 09:39:03 -05:00 committed by GitHub
commit 3d70f988f6
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 = [ protected $except = [
// //
]; ];
/**
* Indicates whether the XSRF-TOKEN cookie should be set on the response.
*
* @var bool
*/
protected $addHttpCookie = true;
} }