]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Middleware/VerifyCsrfToken.php
Default OpenID display name set to standard value
[bookstack] / app / Http / Middleware / VerifyCsrfToken.php
index 291b8326f36d4657e46197117e6d61bfc84762a6..007564eb3ada1826e38e25a1ca62ff1a04e855ba 100644 (file)
@@ -6,12 +6,20 @@ 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/*',
+        'openid/*'
     ];
 }