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
|
@Autowired
|
||||||
private ContactRepository contactRepo;
|
private ContactRepository contactRepo;
|
||||||
|
|
||||||
|
|
||||||
//Récupère les infos d'un contact par son ID
|
//Récupère les infos d'un contact par son ID
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
//@PreAuthorize("hasRole('ROLE_PARENT') or hasRole('ROLE_ENFANT')")
|
//@PreAuthorize("hasRole('ROLE_PARENT') or hasRole('ROLE_ENFANT')")
|
||||||
|
|
|
@ -28,13 +28,14 @@ public class MembreController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MembreRepository membreRepo;
|
private MembreRepository membreRepo;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MembreService membreService;
|
private MembreService membreService;
|
||||||
@Autowired
|
@Autowired
|
||||||
private BCryptPasswordEncoder passwordEncoder;
|
private BCryptPasswordEncoder passwordEncoder;
|
||||||
|
|
||||||
public MembreController() {}
|
public MembreController() {}
|
||||||
|
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public String home()
|
public String home()
|
||||||
{
|
{
|
||||||
|
@ -176,8 +177,6 @@ public class MembreController {
|
||||||
}
|
}
|
||||||
|
|
||||||
/********************* Gestion Mot de Passe ************************************/
|
/********************* Gestion Mot de Passe ************************************/
|
||||||
|
|
||||||
|
|
||||||
//cette methode ne fonctionne pas parce que ça affiche "trouvé" dans tous les cas
|
//cette methode ne fonctionne pas parce que ça affiche "trouvé" dans tous les cas
|
||||||
@GetMapping("/forgot-password")
|
@GetMapping("/forgot-password")
|
||||||
//@PreAuthorize("hasRole('ROLE_PARENT') or hasRole('ROLE_ENFANT')")
|
//@PreAuthorize("hasRole('ROLE_PARENT') or hasRole('ROLE_ENFANT')")
|
||||||
|
@ -216,7 +215,4 @@ public class MembreController {
|
||||||
|
|
||||||
return ResponseEntity.status(HttpStatus.OK).body(resultMembre);
|
return ResponseEntity.status(HttpStatus.OK).body(resultMembre);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ public class TeamController {
|
||||||
@Autowired
|
@Autowired
|
||||||
private TeamRepository teamRepo;
|
private TeamRepository teamRepo;
|
||||||
|
|
||||||
// @RequestMapping("/teams")
|
// @RequestMapping("/teams")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public String home()
|
public String home()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue