fix(upms): validate password reset result

This commit is contained in:
PIGCLOUD committed 2026-06-18 08:33:11 +08:00
1 parent 9236384ce6
commit a6af889ccf
1 file changed
+1 -1
@@ -740,7 +740,7 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
public R resetUserPassword(RegisterUserDTO userDto) {
// 校验密码
R checkedPassword = checkPassword(userDto.getUsername(), userDto.getPassword());
if (!checkedPassword.isOk()) {
if (!(boolean) checkedPassword.getData()) {
return checkedPassword;
}