Exclude null case if groupManager is not set

This commit is contained in:
Florian Scholdei
2020-10-28 17:58:58 +01:00
parent 526405f164
commit 81dc317f3c

View File

@@ -129,7 +129,7 @@ public class SetupContextListener implements ServletContextListener {
}
private boolean authenticatedGroupDoesNotExists() {
return (groupManager.get(AUTHENTICATED) == null);
return groupManager == null || groupManager.get(AUTHENTICATED) == null;
}
private void createAuthenticatedGroup() {