Commit 075664bf by Jan Hrabal

change password fix

parent 8ef38747
...@@ -156,6 +156,7 @@ public class AppUserAuthService implements AuthService { ...@@ -156,6 +156,7 @@ public class AppUserAuthService implements AuthService {
} }
@Override @Override
@Transactional
public void changePassword(String login, String currentPassword, String newPassword) throws AuthenticationException { public void changePassword(String login, String currentPassword, String newPassword) throws AuthenticationException {
AppUser user = appUserRepository.findByLogin(login); AppUser user = appUserRepository.findByLogin(login);
if (user == null) { if (user == null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment