Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To create an TFA template it’s easy, follow these steps:

Instructions

TFA Template for Email:

...

Steps:

  1. Go to Customization;

  2. Click on Two Factor Auth;

  3. Fill the subject of email;

  4. Fill the body with a nice HTML Code (wink) (Note: you are obligated required to inform the {{code}} tag);

  5. Click in Save, that’s it.;

Info

If you don’t want to fill the body with HTML, you need to put a {{code}} tag.

After that, when your client request a TFA Code in the API by Email, he your receiver will see a friendly e-mailEmail:

...

HTML used in this tutorial:

Code Block
<h1 class="text-center"> TFA Code sent by Botdoc. </h1>

<label>Hi, you are receiving the TFA Code 
    in order to open our protected links.
</label>

<h4> Your code Is: {{code}}</h4>
<br>
<label>Thanks for using our plataform</label>

TFA Template for SMS:

...

Steps:

  1. Go to Customization;

  2. Click on Two Factor Auth;

  3. Fill the body of: SMS - Two Factor Authentication Template, with a nice message;

  4. if you fill the body, you are required to inform the {{code}} tag;

  5. Click in Save, that’s it.

After that, when your client request a TFA Code in the API by SMS, you receiver will see a friendly SMS Text:

...