What is two-factor authentication and why is it used?
Two-factor authentication (2FA), sometimes referred to as two-step verification or dual-factor authentication, is a security process in which users provide two different authentication factors to verify themselves.
2FA is implemented to better protect both a user's credentials and the resources the user can access. Two-factor authentication provides a higher level of security than authentication methods that depend on single-factor authentication (SFA), in which the user provides only one factor -- typically, a password or passcode. Two-factor authentication methods rely on a user providing a password as the first factor and a second, different factor -- usually either a security token or a biometric factor, such as a fingerprint or facial scan.
Two-factor authentication adds an additional layer of security to the authentication process by making it harder for attackers to gain access to a person's devices or online accounts because, even if the victim's password is hacked, a password alone is not enough to pass the authentication check. Source
How to Setup 2FA
1. Go to Settings
2. Click on Manage Users and Security
3. Click on User Permissions
4. Click on the check box to enable Two Factor Authentication (2FA). Hit the Save Settings button to save the changes.
Check and see if it works;
1. Login to your database
2. Enter your mobile number and confirm. A 4-digit pin code will be sent for verification.