diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-12-28 03:28:33 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2018-12-28 20:35:44 +0100 |
commit | 491ee376517cded3c9c8d2389e3f9f21daa1a407 (patch) | |
tree | 7def296bc1e53691bb7d5b79c542e002c009ed24 /config | |
parent | 7b3901211a0165558eebca8fe7490ca79b09f97b (diff) |
Don't save sessions permanently on api and metrics paths
closes #530 (Session on API calls)
Diffstat (limited to 'config')
-rw-r--r-- | config/app.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/app.php b/config/app.php index 7ba3509e..17fdee11 100644 --- a/config/app.php +++ b/config/app.php @@ -24,6 +24,7 @@ return [ \Engelsystem\Renderer\TwigServiceProvider::class, \Engelsystem\Middleware\RouteDispatcherServiceProvider::class, \Engelsystem\Middleware\RequestHandlerServiceProvider::class, + \Engelsystem\Middleware\SessionHandlerServiceProvider::class, // Additional services \Engelsystem\Mail\MailerServiceProvider::class, @@ -43,6 +44,7 @@ return [ \Engelsystem\Middleware\ErrorHandler::class, \Engelsystem\Middleware\VerifyCsrfToken::class, \Engelsystem\Middleware\RouteDispatcher::class, + \Engelsystem\Middleware\SessionHandler::class, // Handle request \Engelsystem\Middleware\RequestHandler::class, |