mirror of https://gitee.com/y_project/RuoYi.git
修改密码更换方法
parent
535f2fafc4
commit
58b4a50fdb
|
@ -209,7 +209,7 @@ public class UserServiceImpl implements IUserService
|
||||||
{
|
{
|
||||||
user.randomSalt();
|
user.randomSalt();
|
||||||
user.setPassword(passwordService.encryptPassword(user.getLoginName(), user.getPassword(), user.getSalt()));
|
user.setPassword(passwordService.encryptPassword(user.getLoginName(), user.getPassword(), user.getSalt()));
|
||||||
return updateUser(user);
|
return updateUserInfo(user);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue