From ee054312233b24d9c0ea5f8826d39d45accc821f Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Fri, 16 Aug 2024 11:09:37 +0200 Subject: [PATCH] added a TODO --- application/controllers/User.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/controllers/User.php b/application/controllers/User.php index 8c3d0cae3..35d3e163d 100644 --- a/application/controllers/User.php +++ b/application/controllers/User.php @@ -1196,7 +1196,8 @@ class User extends CI_Controller { // We need to check if the user is allowed to "become" this particular user_id // Update the session with the new user_id - $this->user_model->update_session($user_id); + // TODO: We need to check if the new session data is set correctly. For this we need to go through the user_model->update_session() function + $this->user_model->update_session($user_id); // Redirect to the dashboard redirect('dashboard');