diff --git a/app/controllers/user_settings/profiles_controller.rb b/app/controllers/user_settings/profiles_controller.rb
index 17ebe5871648226063fa6cdc0623fe7753e66fd0..c2d931b3e5266a5da5a31d29bcbfb43fa1dd2387 100644
--- a/app/controllers/user_settings/profiles_controller.rb
+++ b/app/controllers/user_settings/profiles_controller.rb
@@ -76,3 +76,7 @@ def user_params
     end
   end
 end
+
+# Added for JiHu
+# Used in https://jihulab.com/gitlab-cn/gitlab/-/blob/main-jh/jh/app/controllers/jh/user_settings/profiles_controller.rb
+UserSettings::ProfilesController.prepend_mod