WordPress Two Factor Authentication (CMAUTH) - 2FA Methods - SMS


Back to User Guide

Authentication Methods

Overview | Google Authenticator | Email Code | Email Link | Mobile Phone SMS

To enable SMS verification in the WordPress Two Factor Authentication plugin, navigate to Admin Dashboard → CM Secure Login Pro  SMS tab.

Confirmation Settings

Lets you limit the frequency of text messages, so as not to disturb users. The field accepts values in minutes, so, by inserting 2, for example, users will receive a maximum of one message every 2 minutes. Inserting different characters, like "4.2" or alphabetic characters, will result in an error. Entering "0" or a negative value will cause the SMS to fail to send. 

SMS settings tab - WordPress Login SMS Verification
SMS settings tab

Amazon Web Service API

Here, you must insert the Amazon SNS API Key and secret. Amazon has a guide on how to obtain these, or you can check it in our guide: General Support - Enabling SMS Messages (Amazon SNS API)

You can also test the service by adding a test number, starting with the country code. For example +1xxxxxxxxx for a US number.

Connecting Amazon account to the plugin - 2 Factor Authentication for WordPress
Connecting Amazon account to the plugin


These fields allow you to customize the SMS the users will receive: both the sender name and the message itself can be personalised. The shortcode [code] is essential, as it will contain the verification key the user will have to input to sign in.

Tip: Writing a shortcode between brackets returns its value inside them. For instance, if the blog name is "Writing 101", inserting [[blogname]] will return [Writing 101].

Message template - WordPress Two Step Authentication
Message template

Email Template

You can edit the template for the message the user will receive when he/she tries to login without having registered a telephone number. There are two fields: subject and the message body.

Email subject template - WordPress Enable 2FA
Email subject template
Email body template - How to Enable 2FA On WordPress
Email body template

Other Methods

You can learn more about the other methods by reading this guide.

Read important note about AWS Sandbox

AWS Sandbox send SMS only on verified mobile numbers. You can read more here.

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
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.