From c7549f2efce9b7ab9d3c79987c5f3934cd1ea47b Mon Sep 17 00:00:00 2001 From: MGatner Date: Sun, 7 Aug 2022 00:10:38 +0000 Subject: [PATCH] Release v4.2.3 --- system/CodeIgniter.php | 2 +- system/Security/Security.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/system/CodeIgniter.php b/system/CodeIgniter.php index 7dbfbc8e..285576f4 100644 --- a/system/CodeIgniter.php +++ b/system/CodeIgniter.php @@ -47,7 +47,7 @@ class CodeIgniter /** * The current version of CodeIgniter Framework */ - public const CI_VERSION = '4.2.2'; + public const CI_VERSION = '4.2.3'; /** * App startup time. diff --git a/system/Security/Security.php b/system/Security/Security.php index 529e10b0..36f4a730 100644 --- a/system/Security/Security.php +++ b/system/Security/Security.php @@ -528,9 +528,9 @@ private function restoreHash(): void } /** - * Generates (Regenerate) the CSRF Hash. + * Generates (Regenerates) the CSRF Hash. */ - protected function generateHash(): string + public function generateHash(): string { $this->hash = bin2hex(random_bytes(static::CSRF_HASH_BYTES));