From 64874bdb7e94db189ef7fd690b223ed5a722d73c Mon Sep 17 00:00:00 2001 From: Andras Iklody Date: Wed, 2 Dec 2020 18:30:22 +0100 Subject: [PATCH] fix: httpOnly should be httponly --- config/routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.php b/config/routes.php index df79969..ac1ab26 100644 --- a/config/routes.php +++ b/config/routes.php @@ -48,7 +48,7 @@ $routes->scope('/', function (RouteBuilder $builder) { $builder->setExtensions(['json']); // Register scoped middleware for in scopes. $builder->registerMiddleware('csrf', new CsrfProtectionMiddleware([ - 'httpOnly' => true, + 'httponly' => true, ])); /* * Apply a middleware to the current route scope.