Two-factor authentication is a user security that requires a verification code upon logging in.