From 64874bdb7e94db189ef7fd690b223ed5a722d73c Mon Sep 17 00:00:00 2001 From: Andras Iklody Date: Wed, 2 Dec 2020 18:30:22 +0100 Subject: [PATCH 1/7] 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. From fabadf338047e3e3d15711e46f804cc5ef09291c Mon Sep 17 00:00:00 2001 From: iglocska Date: Wed, 2 Dec 2020 19:37:24 +0100 Subject: [PATCH 2/7] chg: [logo] colour change - for the swarm --- templates/Users/login.php | 2 +- webroot/img/logo-purple.png | Bin 0 -> 67918 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 webroot/img/logo-purple.png diff --git a/templates/Users/login.php b/templates/Users/login.php index f65ced8..d787594 100644 --- a/templates/Users/login.php +++ b/templates/Users/login.php @@ -1,5 +1,5 @@ Html->image('logo.png', ['alt' => 'CakePHP', 'class="form-signin"']); + echo $this->Html->image('logo-purple.png', ['alt' => 'CakePHP', 'class="form-signin"']); echo '