To enable Two-Factor Authentication from within the Webmail interface of an email account in cPanel. This option is available only if two-factor authentication is enabled in WHM and included in the account's Feature List.
To enable Two-Factor Authentication in Webmail:
- Log into Webmail either through the cPanel or the Webmail login portal.
- From the Webmail Management screen (before you access RoundCube), under the header Edit Your Settings, select Two-Factor Authentication
- Click on "Set up Two-Factor Authentication."
- Follow the on-screen instructions to scan the QR code with an authentication app (such as Google Authenticator) and enter the generated code to complete the setup.