Commit fa82a3f6 authored by renjie's avatar renjie

子用户bug

parent 1bce4436
...@@ -782,12 +782,11 @@ public class AccountServiceImpl implements AccountService { ...@@ -782,12 +782,11 @@ public class AccountServiceImpl implements AccountService {
if (subUsersRequestDto.getPassword() != null) { if (subUsersRequestDto.getPassword() != null) {
com.edgec.browserbackend.auth.domain.User user = new com.edgec.browserbackend.auth.domain.User(); com.edgec.browserbackend.auth.domain.User user = new com.edgec.browserbackend.auth.domain.User();
user.setUsername(username); user.setUsername(username);
// user.setPassword(subUsersRequestDto.getPassword()); if (subUsersRequestDto.getPassword() != null)
user.setPassword(subUsersRequestDto.getPassword());
userAuthService.resetUserPassword(user); userAuthService.resetUserPassword(user);
} }
log.error(subUsersRequestDto.getPermission() + "!");
if (subUsersRequestDto.getNickname() != null) if (subUsersRequestDto.getNickname() != null)
childAccount.setNickname(subUsersRequestDto.getNickname()); childAccount.setNickname(subUsersRequestDto.getNickname());
if (subUsersRequestDto.getPermission() != -1) if (subUsersRequestDto.getPermission() != -1)
......
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