mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 08:47:52 +00:00
13 lines
243 B
PHP
13 lines
243 B
PHP
<?php
|
|
namespace Demo\Middlewares;
|
|
|
|
use Pecee\Http\Middleware\BaseCsrfVerifier;
|
|
|
|
class CsrfVerifier extends BaseCsrfVerifier {
|
|
|
|
/**
|
|
* CSRF validation will be ignored on the following urls.
|
|
*/
|
|
protected $except = ['/api/*'];
|
|
|
|
} |