Shes right. Even look what this sheikh on islamweb says
“As regards the daughter, you have nothing to do with her at all; she should be attributed to the husband of the woman because he is the owner of the bed. The Prophet, sallallaahu ‘alayhi wa sallam, said:
"The child is for (i.e. traced back to) the owner of the bed (i.e. the legitimate husband)." [Al-Bukhari and Muslim] For further information see Fatwa
84301. Besides, financial expenses of this daughter and nurturing her are the responsibility of her father. Therefore, you have to break off your relationship completely with this family, so that it would not be a reason to encourage you to commit adultery again with this woman.”
I know you guys don’t like it but I’m sure it’s to protect the child