fix: httpOnly should be httponly

pull/38/head
Andras Iklody 2020-12-02 18:30:22 +01:00 committed by GitHub
parent acf64a5d74
commit 64874bdb7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.