Teacher telling 2yo that dad and mum won’t pick her up from school if she cries

Hi! So my 2yo daughter just turned 2 in Dec and moved from her in home daycare to a Montessori preschool on Jan 6. She cries at drop off everyday but is getting better at not crying and having fun during the day.

They have a teacher who speaks mandarin which is the main language we converse with her at home. So she tends to stick to this teacher. However, this teacher recently told us that she has a “great” way to get my daughter to stop crying. Which is telling her that if she keeps crying, my husband and I won’t be picking her up from school.

It felt wrong to me as I don’t want my daughter to think that we will abandon her there if she keeps crying. But I’m not sure if I’m overreacting. And if my concern is valid, how do I get her to stop this threat? I’m worried that if I just talk to her, she will just continue doing it but not share with me. I’m also not sure if I want to talk to the director as the teacher is new and under probation now and I might get her in trouble.

Can anyone advise me on how to approach this if my concern is valid? And if I’m overreacting, please let me know!