| 1 | <?php | = | 1 | <?php |
| 2 | 2 | |||
| 3 | namespace App\Http\Middleware; | 3 | namespace App\Http\Middleware; | |
| 4 | 4 | |||
| 5 | use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; | 5 | use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; | |
| 6 | 6 | |||
| 7 | class VerifyCsrfToken extends Middleware | 7 | class VerifyCsrfToken extends Middleware | |
| 8 | { | 8 | { | |
| 9 | /** | 9 | /** | |
| -+ | 10 | * Indicates whether the XSRF-TOKEN cookie should be set on the response. | ||
| 11 | * | |||
| 12 | * @var bool | |||
| 13 | */ | |||
| 14 | protected $addHttpCookie = true; | |||
| 15 | ||||
| 16 | /** | |||
| 10 | * The URIs that should be excluded from CSRF verification. | = | 17 | * The URIs that should be excluded from CSRF verification. |
| 11 | * | 18 | * | |
| 12 | * @var array | 19 | * @var array | |
| 13 | */ | 20 | */ | |
| 14 | protected $except = [ | 21 | protected $except = [ | |
| 15 | // | 22 | // | |
| 16 | ]; | 23 | ]; | |
| 17 | } | 24 | } |