accueil / login bootstrap

This commit is contained in:
mepiphana2023
2024-04-24 16:52:38 +02:00
parent bc49d8eeee
commit d60fa01d3d
3 changed files with 50 additions and 19 deletions

View File

@@ -76,7 +76,7 @@ public class ArticleController {
Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
String username = authentication.getName();
UserProfil userProfile = userService.utilisateurByName(username);
article.setUtilisateur(userProfile.getId());
article.setNoUtilisateur(userProfile.getId());
//Récupérer le lieu de retrait
Retrait retrait = new Retrait();
retrait.setRue(rue);