Yes, two-factor authentication is a crucial layer of security to add to your online accounts, but you remain vulnerable to hacks if you receive the codes via text message. A better way to manage these quick codes is to use an authenticator app, like Google Authenticator or Twilio Authy. When you use an authenticator app, the multifactor codes are available in-app instead of through a text.