Skip to content

Commit

Permalink
修正md5方法调用
Browse files Browse the repository at this point in the history
  • Loading branch information
shuzheng committed Nov 11, 2017
1 parent ad69818 commit ac0f680
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public Object create(UpmsUser upmsUser) {
long time = System.currentTimeMillis();
String salt = UUID.randomUUID().toString().replaceAll("-", "");
upmsUser.setSalt(salt);
upmsUser.setPassword(MD5Util.MD5(upmsUser.getPassword() + upmsUser.getSalt()));
upmsUser.setPassword(MD5Util.md5(upmsUser.getPassword() + upmsUser.getSalt()));
upmsUser.setCtime(time);
upmsUser = upmsUserService.createUser(upmsUser);
if (null == upmsUser) {
Expand Down

0 comments on commit ac0f680

Please sign in to comment.