Two-factor authentication requires you to enter a code that is generated by an app like Google Authenticator when you attempt to login. This is generally only required for new devices or every 30 days.