Skip to content

Commit de52810

Browse files
committed
Fix deprecation.
1 parent cd5a705 commit de52810

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎config/routes.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
Router::scope('/', function (RouteBuilder $routes) {
4747
// Register scoped middleware for in scopes.
4848
$routes->registerMiddleware('csrf', new CsrfProtectionMiddleware([
49-
'httpOnly' => true
49+
'httponly' => true
5050
]));
5151
$routes->applyMiddleware('csrf');
5252
$routes->connect('/', ['controller' => 'Pages', 'action' => 'display', 'home']);

0 commit comments

Comments
 (0)