]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Middleware/VerifyCsrfToken.php
Update settings.php
[bookstack] / app / Http / Middleware / VerifyCsrfToken.php
index 291b8326f36d4657e46197117e6d61bfc84762a6..bdeb265540a9bde5c6d53f6ffef8b5e8f1ca3711 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/*'
     ];
 }