Fix su availableProfiles
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good

This commit is contained in:
2025-02-13 15:42:09 +01:00
parent e13a73dd63
commit b2e829bbdb

View File

@@ -368,6 +368,8 @@ public class SystemService {
if (foundUser == null || !foundUser.isAttivo())
continue;
profilesWhereUserFound.add(profile);
String sql = Query.format("SELECT * FROM " + StbUser.ENTITY + " WHERE user_name = {}", username);
StbUser stbUser;
try (MultiDBTransactionManager mdb = new MultiDBTransactionManager(profile)) {