Can't update macOS after Internet Recovery (which took it back to Mac OS X Lion) because two factor authentication!
So I installed a new SSD, installed the OS through Internet Recovery, which took it back to the original Mac OS X Lion 10.7.5.
Now I want to take it up to OSX El Capitan, but for that I have to sign in to the App Store, and I can't do that because two factor authentication is enabled. I can't get the verification code on my system, because this IS the system! Paradox!?
How do I proceed from here? I don't have any devices connected with this ID.
MacBook Pro 13", macOS 10.12