]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Middleware/VerifyCsrfToken.php
Make building of search results work for multi-byte encoded characters
[bookstack] / app / Http / Middleware / VerifyCsrfToken.php
index 291b8326f36d4657e46197117e6d61bfc84762a6..804a22bc09a3e35acbe26833940eb215e45a81d7 100644 (file)
@@ -6,12 +6,19 @@ use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
 
 class VerifyCsrfToken extends Middleware
 {
+    /**
+     * Indicates whether the XSRF-TOKEN cookie should be set on the response.
+     *
+     * @var bool
+     */
+    protected $addHttpCookie = true;
+
     /**
      * The URIs that should be excluded from CSRF verification.
      *
      * @var array
      */
     protected $except = [
-        //
+        'saml2/*',
     ];
 }