1 頁 (共 1 頁)

Excluding URIs From CSRF Protection

發表於 : 2016-06-06 11:20:02
yehlu
app/Http/Middleware/VerifyCsrfToken.php

代碼: 選擇全部

<?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 = [
        'stripe/*',
    ];
}