The HDD failed in my Late 2012 Mac Mini and I have a new disk installed and have used Internet Recovery to restore Mountain Lion to it.
I'm trying to upgrade but any attempt through the app store fails because I cannot log in. My password is correct, but it says it is wrong and I hear the notification of approval on my iPad for the code etc.
I cannot turn off two factor authentication as that is no longer an option.
How can I get around this?