=== EMLG TFA ===
Contributors: wprj
Tags: 2FA ,email two-factor authentication, 2-factor authentication, login, email login, email authentication, two factor, 2 factor
Requires at least: 6.0
Tested up to: 6.1.1
Requires PHP: 7.4
Stable tag: 1.1
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html

Two-factor authentication via out of band email

== Description ==

When logging in, users will be required to enter a verification code that is sent to the email address associated with their WordPress account.

The feature will not actually be active after the plugin installation, until one site administrator managed to successfully send a test email.

***Login email template***

You can edit the template used when sending the login email to match your site design. But the template must contain the `%CODE%` placeholder otherwise it will not be saved. This string will be replaced by the actual code when a user log into your site

== Installation ==

= Uploading in WordPress Dashboard =

1. Navigate to the 'Add New' in the plugins dashboard
2. Navigate to the 'Upload' area
3. Select `emlg-tfa.zip` from your computer
4. Click 'Install Now'
5. Activate EMLG TFA in the Plugin dashboard

= Using FTP =

1. Download `emlg-tfa.zip`
2. Extract the `emlg-tfa` directory to your computer
3. Upload the `emlg-tfa` directory to the `/wp-content/plugins/` directory
4. Activate EMLG TFA in the Plugin dashboard

== Frequently Asked Questions ==

= The WordPress email capability always fail =

The ability of WordPress to send emails is independent of the plugin. Please check this with you web server admin/web hosting service provider.

= What happens if WordPress doesn't manage to send an email while I try to log in =

You will be logged in without the need of entering the verification code. But the Two-Factor Authentication via Email will be disabled until you Re-checked successfully your WordPress email capability.

== Screenshots ==

1. Testing WordPress Email capability
2. Requires the one time code on user login
3. Login email template preview

== Changelog ==

= 1.1 =

Feature: add site url to the possible placeholders in email body
Updated `.pot` file

= 1.0.1 =

Fix: allow `wp_mail` to send formatted HTML

= 1.0 =

Initial release
