This question already has an answer here:
I don't remember that anyone referred to her as Captain Marvel in her solo movie. Did anyone in Avengers call her Captain Marvel? If so, why? Did she introduce herself as Captain Marvel?
If not, is that mean, we don't have Captain Marvel, Captain Danvers instead?