diff --git a/starter-app/src/main/java/ch/ralscha/starter/service/UserService.java b/starter-app/src/main/java/ch/ralscha/starter/service/UserService.java
index <HASH>..<HASH> 100644
--- a/starter-app/src/main/java/ch/ralscha/starter/service/UserService.java
+++ b/starter-app/src/main/java/ch/ralscha/starter/service/UserService.java
@@ -17,8 +17,8 @@ import org.springframework.context.MessageSource;
 import org.springframework.context.annotation.Lazy;

 import org.springframework.data.domain.Page;

 import org.springframework.security.access.prepost.PreAuthorize;

+import org.springframework.security.authentication.encoding.PasswordEncoder;

 import org.springframework.security.core.context.SecurityContextHolder;

-import org.springframework.security.crypto.password.PasswordEncoder;

 import org.springframework.stereotype.Controller;

 import org.springframework.transaction.annotation.Transactional;

 import org.springframework.util.StringUtils;

@@ -134,7 +134,7 @@ public class UserService {
 		if (!result.hasErrors()) {

 

 			if (StringUtils.hasText(modifiedUser.getPasswordHash())) {

-				modifiedUser.setPasswordHash(passwordEncoder.encode(modifiedUser.getPasswordHash()));

+				modifiedUser.setPasswordHash(passwordEncoder.encodePassword(modifiedUser.getPasswordHash(), null));

 			}

 

 			if (!options) {
use jasypt for password hashing