]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Middleware/VerifyCsrfToken.php
Add the "Create Shelf" resp. "Create Book" to the home view
[bookstack] / app / Http / Middleware / VerifyCsrfToken.php
index 291b8326f36d4657e46197117e6d61bfc84762a6..1a29a2b1d121f35f56dfd9e2eeb5611c84c4b42a 100644 (file)
@@ -6,6 +6,13 @@ 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.
      *