Commit 5fdbf24c9195b85729508f8b9449c2a7bc94ce1f

Authored by Zak
1 parent 353d9d4f

désactivation des token csrf pour pouvoir appeller les requêtes POST

Showing 1 changed file with 0 additions and 1 deletions   Show diff stats
src/main/java/fr/plil/sio/web/mvc/UserServiceImpl.java
@@ -66,7 +66,6 @@ public class UserServiceImpl implements UserService { @@ -66,7 +66,6 @@ public class UserServiceImpl implements UserService {
66 // Authentication auth = SecurityContextHolder.getContext().getAuthentication(); 66 // Authentication auth = SecurityContextHolder.getContext().getAuthentication();
67 String connectedUsername = securityService.findLoggedInUsername(); 67 String connectedUsername = securityService.findLoggedInUsername();
68 User connectedUser = userRepository.findByUsername(connectedUsername); 68 User connectedUser = userRepository.findByUsername(connectedUsername);
69 -  
70 //Set dette 69 //Set dette
71 List<Dette> dettes = user.getDettes(); 70 List<Dette> dettes = user.getDettes();
72 List<Dette> newDettes = user.getDettes(); 71 List<Dette> newDettes = user.getDettes();