server/src/app/Http/Middleware/VerifyCsrfToken.php
changeset 28 b0b56e0f8c7f
parent 2 00e2916104fe
child 139 8d688175513a
equal deleted inserted replaced
27:a2342f26c9de 28:b0b56e0f8c7f
    17      */
    17      */
    18     public function handle($request, Closure $next)
    18     public function handle($request, Closure $next)
    19     {
    19     {
    20         return parent::handle($request, $next);
    20         return parent::handle($request, $next);
    21     }
    21     }
       
    22 
       
    23     /**
       
    24      * The URIs that should be excluded from CSRF verification.
       
    25      *
       
    26      * @var array
       
    27      */
       
    28     protected $except = [
       
    29         'api/*',
       
    30     ];
    22 }
    31 }