From 1708a0318fd6bf2616ce731883bfa78813dea4b7 Mon Sep 17 00:00:00 2001
From: Guillaume Rousse <guillaume.rousse@renater.fr>
Date: Mon, 28 Jan 2019 11:18:12 +0100
Subject: [PATCH] drop configuration test for federations in web application

---
 lib/AccountManager/App.pm | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/lib/AccountManager/App.pm b/lib/AccountManager/App.pm
index 5983c42..8644dec 100644
--- a/lib/AccountManager/App.pm
+++ b/lib/AccountManager/App.pm
@@ -113,18 +113,6 @@ sub new {
         );
     }
 
-    if (!$self->{configuration}->{groups}->{list}) {
-        $self->{logger}->fatal(
-            "No federations defined in configuration, aborting"
-        );
-        $self->respond(
-            template => 'errors.tt2.html',
-            data     => {
-                errors  => [ 'internal' ]
-            }
-        );
-    }
-
     if (!$self->{configuration}->{database}) {
         $self->{logger}->fatal(
             "No database defined in configuration, aborting"
-- 
GitLab