mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-08 05:10:20 +01:00
Exclude null case if groupManager is not set
This commit is contained in:
@@ -129,7 +129,7 @@ public class SetupContextListener implements ServletContextListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean authenticatedGroupDoesNotExists() {
|
private boolean authenticatedGroupDoesNotExists() {
|
||||||
return (groupManager.get(AUTHENTICATED) == null);
|
return groupManager == null || groupManager.get(AUTHENTICATED) == null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void createAuthenticatedGroup() {
|
private void createAuthenticatedGroup() {
|
||||||
|
|||||||
Reference in New Issue
Block a user