Updated documentation and added demo-project.

This commit is contained in:
Simon Sessingø
2016-09-26 14:37:54 +02:00
parent fab0d0641c
commit 980a4e9b6a
13 changed files with 359 additions and 3 deletions
@@ -0,0 +1,13 @@
<?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/*'];
}