Part of it that we’d need to be careful about… Leia didn’t know Palpatine was alive until the start of the movie, but knew of Rey’s lineage BEFORE then… god this movie is filled with plot holes, because if Leia knew of Rey’s past then she would know Palpatine was still alive! UGH
What if… it was because Leia sensed the strength of Rey’s abilities/powers once she started to train her. Because in TFA/TLJ isn’t around Rey when she uses the force much. And, it doesn’t rely on Luke having to tell her
Luke: “Because you’re a Palpatine? Leia sensed his power in you after I passed.”
Rey: "She didn’t tell me. She still trained me…”