With two-factor authentication, you’ll need a verification code to sign in to your Apple Account on a new device or browser.| Apple Support