Setup Two Factor Authentication
##Enable Two Factor Authentication (2FA)
Activate two factor authentication by running the command.
bench --site [sitename] set-config enable_two_factor_auth true
Specify the following in System Settings
- The method of OTP validation (OTP App = TOTP using Soft or Hard Token while Email/SMS = HOTP using Email or SMS
- The expiry time for the QR Code on the server if OTP App is specified
- The OTP Issuer Name.
On activation of 2FA from setup, it is also activated for the Role \