What is two-factor authentication?
It is sign-in in two steps: besides the password, the user confirms their identity in a second way, such as a code from an authenticator app, an email or an SMS. Even if the password is stolen, nobody can sign in without the second step. Two-factor verification is worth enabling wherever there is money, documents and administrator rights.
More in the customer portal development guide.