features/fiche_refonte #254

Merged
judaur2005 merged 2 commits from features/fiche_refonte into develop 2026-07-20 19:33:37 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 2226895ce7 - Show all commits

View File

@@ -89,7 +89,7 @@ public class UserServiceImpl implements UserService {
user.setTokenDate(LocalDateTime.now()); user.setTokenDate(LocalDateTime.now());
String token= stringService.getUniqueString(); String token= stringService.getUniqueString();
user.setToken(token); user.setToken(token);
userRepository.save(user); user=userRepository.save(user);
@@ -98,7 +98,7 @@ public class UserServiceImpl implements UserService {
user.getUsername(), user.getUsername(),
reseturl + token); reseturl + token);
return userRepository.findUserToDtoById(userPaylaodWeb.getId()).orElse(null); return userRepository.findUserToDtoById(user.getId()).orElse(null);
} }
@Override @Override

View File

@@ -1,6 +1,6 @@
#spring.profiles.active=${SPRING_PROFILES_ACTIVE} spring.profiles.active=${SPRING_PROFILES_ACTIVE}
#spring.profiles.active=abomey #spring.profiles.active=abomey
spring.profiles.active=test #spring.profiles.active=test
spring.jpa.properties.hibernate.id.new_generator_mappings=false spring.jpa.properties.hibernate.id.new_generator_mappings=false
spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true
spring.jpa.open-in-view=false spring.jpa.open-in-view=false