Skip to content

Commit

Permalink
updated userService to include language code
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-addison-h committed May 30, 2024
1 parent 0c36779 commit 8f5ee9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/femr/business/services/system/UserService.java
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ public ServiceResponse<UserItem> updateUser(UserItem userItem, String newPasswor
user.setRoles(newRoles);
user.setPasswordReset(userItem.isPasswordReset());
user.setPasswordCreatedDate(DateTime.now());
user.setLanguageCode(userItem.getLanguageCode());
user = userRepository.updateUser(user);
response.setResponseObject(itemModelMapper.createUserItem(user));
} catch (Exception ex) {
Expand Down

0 comments on commit 8f5ee9f

Please sign in to comment.