mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-06 15:30:13 +01:00
Fixed an error that prevented to create a new user.
Also added some validation constraints.
This commit is contained in:
@@ -33,17 +33,15 @@ namespace App\Controller;
|
||||
|
||||
|
||||
use App\Controller\AdminPages\BaseAdminController;
|
||||
use App\Entity\Parts\Category;
|
||||
use App\Entity\UserSystem\Group;
|
||||
use App\Form\AdminPages\CategoryAdminForm;
|
||||
use App\Form\AdminPages\GroupAdminForm;
|
||||
use App\Services\EntityExporter;
|
||||
use App\Services\EntityImporter;
|
||||
use App\Services\StructuralElementRecursionHelper;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\Routing\Annotation\Route;
|
||||
|
||||
/**
|
||||
* @Route("/group")
|
||||
|
||||
Reference in New Issue
Block a user