feat/cnx_api #11

Merged
maurine merged 15 commits from feat/cnx_api into main 2026-03-30 12:08:52 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 1cb1fc925b - Show all commits

View File

@@ -3,7 +3,7 @@ security:
role_hierarchy: role_hierarchy:
ROLE_ORGANISATION: ROLE_USER ROLE_ORGANISATION: ROLE_USER
ROLE_ADMIN_ORGANISATION: ROLE_ORGANISATION ROLE_ADMIN_ORGANISATION: ROLE_ORGANISATION
ROLE_ADMIN: ROLE_USER ROLE_ADMIN: ROLE_ADMIN
# https://symfony.com/doc/current/security.html#registering-the-user-hashing-passwords # https://symfony.com/doc/current/security.html#registering-the-user-hashing-passwords
# Comment sont hachés nos mots de passe # Comment sont hachés nos mots de passe

View File

@@ -53,7 +53,7 @@ class UserController extends AbstractController
public function showProfile( public function showProfile(
Request $request, Request $request,
EntityManagerInterface $entityManager, EntityManagerInterface $entityManager,
FileUploader $fileUploader # <-- On injecte ton super service ici FileUploader $fileUploader
): Response { ): Response {
# Récupération de l'utilisateur actuellement connecté # Récupération de l'utilisateur actuellement connecté
$user = $this->getUser(); $user = $this->getUser();