Aggiunta pezza in login per disallineamento profileDb != dbName
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user