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

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;
}