Correct. I believe it is a violation of the ADA to demand “proof” in the form of certification or paperwork in the hotel context. I’m sure it’s the same for airlines.
They didn't ask for proof that her allergy was real, they asked for proof that it was safe for her to fly, since she stated it wasn't. Once she did that, their options to keep her on the plane were probably limited.