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

21 lines
385 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 BaseVerifier;
class VerifyCsrfToken extends BaseVerifier
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
'api/token',
'api/post',
'webmention',
'places/new',
];
}