]> BookStack Code Mirror - bookstack/blob - app/Http/Middleware/VerifyCsrfToken.php
Updated translator & dependency attribution before release v25.05.1
[bookstack] / app / Http / Middleware / VerifyCsrfToken.php
1 <?php
2
3 namespace BookStack\Http\Middleware;
4
5 use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
6
7 class VerifyCsrfToken extends Middleware
8 {
9     /**
10      * Indicates whether the XSRF-TOKEN cookie should be set on the response.
11      *
12      * @var bool
13      */
14     protected $addHttpCookie = true;
15
16     /**
17      * The URIs that should be excluded from CSRF verification.
18      *
19      * @var array
20      */
21     protected $except = [
22         'saml2/*',
23     ];
24 }
Morty Proxy This is a proxified and sanitized view of the page, visit original site.