jonnybarnes.uk/app/Http/Middleware/VerifyCsrfToken.php

22 lines
407 B
PHP
Raw Normal View History

2016-05-19 15:01:28 +01:00
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
2016-05-19 15:01:28 +01:00
class VerifyCsrfToken extends Middleware
2016-05-19 15:01:28 +01:00
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
'api/media',
2016-05-19 15:01:28 +01:00
'api/post',
'api/token',
'micropub/places',
'webmention',
2016-05-19 15:01:28 +01:00
];
}