修正md5方法调用
This commit is contained in:
parent
ad69818d0a
commit
ac0f68031b
|
@ -188,7 +188,7 @@ public class UpmsUserController extends BaseController {
|
|||
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) {
|
||||
|
|
Loading…
Reference in New Issue