KEYCLOAK-8554 checked if master realm exist instead of number of realms for new installation check
This commit is contained in:
parent
c71f6e2188
commit
0e8d79bbfb
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ public class ApplianceBootstrap {
|
|||
}
|
||||
|
||||
public boolean isNewInstall() {
|
||||
if (session.realms().getRealms().size() > 0) {
|
||||
if (session.realms().getRealm(Config.getAdminRealm()) != null) {
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue