pixelfed/app/Http/Middleware/VerifyCsrfToken.php

19 lines
339 B
PHP
Raw Normal View History

2018-04-15 23:56:48 +00:00
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
'/api/v1/*',
'oauth/token'
2018-04-15 23:56:48 +00:00
];
}