Display logic updated

This commit is contained in:
Charles 2025-09-04 11:38:25 +02:00
parent 633c255598
commit c75eda74a3
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@ class OrganizationController extends AbstractController
$organizations[] = $uo->getOrganization();
}
}
if(count($organizations) === 1 && $organizations[0]->isActive() === true){
return $this->redirectToRoute('organization_show', ['id' => $organizations[0]->getId()]);
}
}