VerifyCsrfToken.php 463 B

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