Merge branch 'master' into develop
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
This commit is contained in:
@@ -365,7 +365,9 @@ public class SystemService {
|
||||
String dbName = settingsModel.getDbNameFromProfileDb(profile);
|
||||
UserDTO foundUser = userCacheService.retrieveUser(dbName, username, password, requestDataDTO.getApplication());
|
||||
|
||||
if (foundUser.isAttivo()) {
|
||||
if (foundUser == null || !foundUser.isAttivo())
|
||||
continue;
|
||||
|
||||
String sql = Query.format("SELECT * FROM " + StbUser.ENTITY + " WHERE user_name = {}", username);
|
||||
StbUser stbUser;
|
||||
try (MultiDBTransactionManager mdb = new MultiDBTransactionManager(profile)) {
|
||||
@@ -389,7 +391,6 @@ public class SystemService {
|
||||
put("key_group", foundUser.getKeyGroup());
|
||||
|
||||
}};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user