merge conflicts
This commit is contained in:
commit
a91c4f652e
3 changed files with 4 additions and 7 deletions
|
@ -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')")
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ public class TeamController {
|
|||
@Autowired
|
||||
private TeamRepository teamRepo;
|
||||
|
||||
// @RequestMapping("/teams")
|
||||
// @RequestMapping("/teams")
|
||||
@ResponseBody
|
||||
public String home()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue