From d1721604333530d4bbd62ce65b2e98825a4a6887 Mon Sep 17 00:00:00 2001 From: Kenneth Trecy Tobias Date: Sat, 9 Sep 2023 20:31:22 +0800 Subject: [PATCH] fix(authentication): use missing classes for access token generation --- app/Controllers/LoginController.php | 1 + app/Controllers/RegisterController.php | 1 + 2 files changed, 2 insertions(+) diff --git a/app/Controllers/LoginController.php b/app/Controllers/LoginController.php index 70825cdb..3bfa3468 100644 --- a/app/Controllers/LoginController.php +++ b/app/Controllers/LoginController.php @@ -6,6 +6,7 @@ // use CodeIgniter\HTTP\IncomingRequest; use CodeIgniter\HTTP\RedirectResponse; use CodeIgniter\HTTP\ResponseInterface; +use CodeIgniter\I18n\Time; use CodeIgniter\Shield\Controllers\LoginController as BaseLoginController; // use Config\App; diff --git a/app/Controllers/RegisterController.php b/app/Controllers/RegisterController.php index 6f708182..6311dd5e 100644 --- a/app/Controllers/RegisterController.php +++ b/app/Controllers/RegisterController.php @@ -5,6 +5,7 @@ // use CodeIgniter\HTTP\IncomingRequest; use CodeIgniter\HTTP\RedirectResponse; use CodeIgniter\HTTP\ResponseInterface; +use CodeIgniter\I18n\Time; use CodeIgniter\Shield\Controllers\RegisterController as BaseRegisterController; // use Config\App;