A massive own goal. Her own fault.
If she’s lying, she’s a liar.
If she’s telling the truth, she’s someone who can’t be trusted to keep a confidential discussion confidential.
And if Bernie said he didn’t think a woman COULD win, that may have merely been an assessment of the political landscape, which is radically different from saying a woman SHOULDN’T win.