Skip to content

Commit

Permalink
Revert the changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kalaiyarasiganeshalingam committed Jan 28, 2025
1 parent 3a41869 commit 3020a1f
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5924,12 +5924,8 @@ protected void addInitialAdminData(boolean addAdmin, boolean initialSetup) throw
log.error(message);
}
} else if (addAdmin) {
String[] roleList = null;
try {
if (roleExist) {
roleList = new String[]{getAdminRoleName()};
}
this.doAddUser(adminUserName, realmConfig.getAdminPassword(), roleList,
this.doAddUser(adminUserName, realmConfig.getAdminPassword(), null,
null, null, false);
} catch (Exception e) {
String message = "Admin user has not been created. " +
Expand Down

0 comments on commit 3020a1f

Please sign in to comment.