Merge pull request #4692 from barryvdh/patch-4
[5.7] Add addHttpCookie to VerifyCsrfToken
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user