// 代表要修改密碼
passwordService.checkPasswordRule(code, password, confirm, true);
}
User user = userService.findUserByUserCode(code);
if (user != null && !user.getOid().equals(oid)) {
throw new CapMessageException(CapAppContext.getMessage(
"users.exist", new Object[] { code }), getClass());
}
String name = request.get("name");
String email = request.get("email");
String[] roleCodes = request.getParamsAsStringArray("roleCodes");