Skip to content

PROD - QMM

Amruta Hulagar requested to merge feature/golang-cli into test-3

Summary by Bito

This pull request addresses security vulnerabilities in the AdminController by refactoring the updateUserProfile method to use service layer calls instead of raw SQL and hardcoded credentials, while the existing description highlights the addition of multiple new features across the application.

Detailed Changes
  • Removes hardcoded database connection details (username 'root', password '') in AdminController.java, enhancing security.
  • Replaces raw SQL update query with userService.updateUser call, reducing SQL injection risks.
  • Introduces User entity mapping for profile updates, improving data handling consistency.
Edited by Amruta Hulagar

Merge request reports