merge conflicts

This commit is contained in:
Sana EL HIRI 2022-02-18 18:03:28 +01:00
commit a91c4f652e
3 changed files with 4 additions and 7 deletions

View file

@ -20,6 +20,7 @@ public class ContactController {
@Autowired
private ContactRepository contactRepo;
//Récupère les infos d'un contact par son ID
@GetMapping(value = "/{id}")
//@PreAuthorize("hasRole('ROLE_PARENT') or hasRole('ROLE_ENFANT')")

View file

@ -28,13 +28,14 @@ public class MembreController {
@Autowired
private MembreRepository membreRepo;
@Autowired
private MembreService membreService;
@Autowired
private BCryptPasswordEncoder passwordEncoder;
public MembreController() {}
@ResponseBody
public String home()
{
@ -176,8 +177,6 @@ public class MembreController {
}
/********************* Gestion Mot de Passe ************************************/
//cette methode ne fonctionne pas parce que ça affiche "trouvé" dans tous les cas
@GetMapping("/forgot-password")
//@PreAuthorize("hasRole('ROLE_PARENT') or hasRole('ROLE_ENFANT')")
@ -216,7 +215,4 @@ public class MembreController {
return ResponseEntity.status(HttpStatus.OK).body(resultMembre);
}
}

View file

@ -21,7 +21,7 @@ public class TeamController {
@Autowired
private TeamRepository teamRepo;
// @RequestMapping("/teams")
// @RequestMapping("/teams")
@ResponseBody
public String home()
{