Aggiunta pezza in login per disallineamento profileDb != dbName

This commit is contained in:
2025-11-11 15:13:47 +01:00
parent 3391051bb8
commit 086bd574d5

View File

@@ -313,6 +313,8 @@ public class SystemService {
} else {
foundUser = userCacheService.retrieveUser(dbName, username, password, requestDataDTO.getApplication());
}
if (foundUser != null && !profileDB.equalsIgnoreCase(foundUser.getProfileDb()))
foundUser.setProfileDb(profileDB);
} else {
List<String> profiles = userCacheService.retrieveProfilesOfUser(username, password, requestDataDTO.getApplication());