WordPress Two Factor Authentication (CMAUTH) - 2FA Methods - Email Link
Email link
Authentication Methods
Overview | Google Authenticator | Email Code | Email Link | Mobile Phone SMS
To configure email template for Email code verification in the WordPress Two Factor Authentication plugin, navigate to Admin Dashboard → CM Secure Login Pro → Email Link tab.
Confirmation settings
![Confirmation option - WP 2FA Plugin](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/669520a95940934e140f6015/file-mx7mW0xMId.png)
- Check for the login confirmation every X seconds - After the user logins with the unique link, the server continually checks for confirmation, to evaluate if the user came from a legitimate source. Here you can set the the interval of that check in seconds. Be careful, as this setting that may affect server performance - a lower value might overload it, depending of its capability.
Email Template
The fields accept RTF, HTML editing and shortcodes.
![Email template - WordPress Login SMS Verification](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/669521b05908935e8481873b/file-dkgAhcjipB.png)
- Subject for the email with code - You can use the following shortcodes:
[blogname]
- Show blog name.[siteurl]
- Show site URL.[userdisplayname]
- Show user display name.[userlogin]
- Show user login.[useremail]
- Show user email.
- Body for the email with code - You can use the following shortcodes:
[blogname]
- Show blog name.[siteurl]
- Show site URL.[userdisplayname]
- Show user display name.[userlogin]
- Show user login.[useremail]
- Show user email.[link]
- Show the link that user have to use to login. Important: the email body template MUST contain this shortcode in order to let the user login.[usertime]
- Show the current time of the user. Note: this shortcode was introduced in version 1.8.2.[userip]
- Show the IP address of the user used for a login attempt. Note: this shortcode was introduced in version 1.8.2.[userbrowser]
- Show the browser info of the user. Note: this shortcode was introduced in version 1.8.2.
An important note about [link]
is that it generates a URL. As such, it must be placed in the text as a hyperlink. Two examples:
With the visual editor:
Adding link using Visual editor With HTML:
Using link using Text editor
Confirmation page
![Confirmation page settings - WordPress Enable 2FA](http://d33v4339jhl8k0.cloudfront.net/docs/assets/558f9e89e4b01a224b42f278/images/669521c55908935e8481873c/file-PBD1DQhsOC.png)
- URL for the back link - The user will be directed to this link after clicking the confirmation email. If the field is left blank, the user will be directed to the wp-admin.
- Enable auto redirect to backlink - Redirects the user to the backlink if the login is successful.
![]() |
More information about the WordPress Two Factor Authentication plugin Other WordPress products can be found at CreativeMinds WordPress Store |
![]() |
Let us know how we can Improve this Product Documentation Page To open a Support Ticket visit our support center |