Initial commit to new repo
This commit is contained in:
parent
a267f9bfcc
commit
a5173c981b
292 changed files with 17472 additions and 0 deletions
20
app/Http/Middleware/VerifyCsrfToken.php
Normal file
20
app/Http/Middleware/VerifyCsrfToken.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?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',
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue