Refer to the following procedure to configure email verification.
Prerequisite
Precaution
After configuring email verification, users need to provide their email addresses to receive a verification email when logging in. For users who have not provided their email addresses, contact administrators to add their email addresses, and then log in again for verification.
Procedure
In the left sidebar of the AOC System configuration page, select Two-factor authentication.
In the Email verification field, click Enable email verification, and specify the following configuration information accordingly:
| Parameter | Description |
|---|---|
| SMTP server |
Select the SMTP server for sending two-factor authentication emails. Information: When using a domain name as the SMTP server address, you need to configure DNS servers in the AOC service virtual machine to ensure that notifications are sent properly. |
| Sender address | Specify the email address for sending two-factor authentication emails. |
| Test email address | Specify the email address for receiving test emails. You can specify one or multiple email addresses as needed. |
The above information can be modified after configuration.
Click Save, and the system will send the test email. If the page prompts Test email sent, then the two-factor authentication configuration has taken effect.
You can check the inbox of the test email address to ensure that the configuration is correct.
Configuration result
Once the configuration has taken effect, when a user logs in to AOC, in addition to authenticating with the username and password, the user also needs to provide the verification code in the verification email.