Commit 076fa730 by zhiwj

Merge branch 'developer' of…

Merge branch 'developer' of http://115.159.76.241/base_platform_enterprise/gic-platform-enterprise into developer
parents 6f952998 ce5453e9
......@@ -258,7 +258,7 @@ public class EnterpriseController {
@RequestMapping("/edit-user")
public RestResponse editUser(UserDTO userDTO) {
//自动密码
boolean isAutoPassword = userDTO.getPasswordType() == UserConstants.CREATE_AUTO;
boolean isAutoPassword = userDTO.getPasswordType() != null && userDTO.getPasswordType() == UserConstants.CREATE_AUTO;
String autoPassword = null;
if (isAutoPassword) {
String password = UserPasswordUtil.createPasswordAuto();
......
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