When entering into an account, WhatsApp intends to make some significant changes. In particular, the business is presently working on a new feature for a future release of WhatsApp beta for Android and iOS that provides an extra degree of protection before entering into a WhatsApp account! WhatsApp is always trying to improve the app’s privacy and security. When the functionality is made available to beta testers, each successful attempt to connect to our WhatsApp account from another device will necessitate the entry of an extra verification code.

When the initial attempt to log into a WhatsApp account is successful, another 6-digit code is required to complete the process: in this instance, another message is sent to the phone number’s owner to notify them of an attempted login. As a result, individuals will be aware that someone is attempting to log into their account using WhatsApp, and they will not share the second verification code to finish the operation.
WhatsApp is the first instant messaging service to integrate this functionality, and we believe that the double verification code may be used as a last resort to avoid account theft when two-step verification is not activated.

Read more here