]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Kernel.php
Add error messages, fix LDAP error
[bookstack] / app / Http / Kernel.php
index cd894de95340471f87e73c876cac8e2a4e49a657..7794f340151c43071e2504900ecdc46b1e3443f5 100644 (file)
@@ -37,6 +37,11 @@ class Kernel extends HttpKernel
             'throttle:60,1',
             'bindings',
         ],
             'throttle:60,1',
             'bindings',
         ],
+        'saml' => [
+            \BookStack\Http\Middleware\EncryptCookies::class,
+            \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
+            \Illuminate\Session\Middleware\StartSession::class,
+        ],
     ];
 
     /**
     ];
 
     /**