=== OLS 2FA ===
Contributors: oneloopdev
Donate link: https://oneloopstudio.com/wordpress-plugins/ols-2fa/
Tags: 2FA, two-factor authentication, email authentication, security
Requires at least: 6.1
Tested up to: 6.7
Requires PHP: 7.2
Stable tag: 1.0.2
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

OLS 2FA is a lightweight plugin that enhances your website's security by adding email two-factor authentication (2FA).

== Description ==
OLS 2FA is a lightweight plugin that enhances your website's security by adding email two-factor authentication (2FA). When users log in, they receive a unique authentication code by email to verify their identity before accessing their account.

**Features:**
- Adds a second layer of authentication using email verification.
- Simple setup with easy-to-follow instructions.
- Compatible with WordPress default login flow.

= Release Notes: =
Before updating the plugin please check [our latest release notes](https://oneloopstudio.com/wordpress-plugins/ols-2fa/).

== Installation ==
= Using The WordPress Dashboard =
* Navigate to the 'Add New' in the plugins dashboard
* Search for "OLS 2FA"
* Click Install Now
* Activate the plugin on the Plugin dashboard

= Uploading in WordPress Dashboard =
* Navigate to the 'Add New' in the plugins dashboard
* Navigate to the 'Upload' area
* Select ols-2fa.zip from your computer
* Click 'Install Now'
* Activate the plugin in the Plugin dashboard

= Using FTP =
* Download ols-2fa.zip
* Extract the 'ols-2fa' directory to your computer
* Upload the 'ols-2fa' directory to the /wp-content/plugins/ directory
* Activate the plugin in the Plugin dashboard

== Frequently Asked Questions ==

= How does the 2FA process work? =
When a user attempts to log in, they enter their username and password as usual. Then, a unique 5-digit authentication code is sent to their registered email address. The user must enter this code to complete the login process.

= Does this work with custom login forms? =
The plugin is designed to work with the default WordPress login form. Compatibility with custom login forms may vary and is not guaranteed.

== Screenshots ==
1. **Login with 2FA** – Shows the additional field for entering the 2FA code during login.
2. **Email Customization Settings** – Provides an interface to customize the email message sent to users.

== Usage ==
1. Activate the plugin
2. Go to **One Loop Studio > 2FA Email** to configure.
3. Enable 2FA Email.
4. Once enabled, You need to verify if you can receive email.
5. Now its enabled and ready to go.

== Screenshots ==
1. Email OTP form.
2. Admin Settings Enable.
3. Admin Settings verify email.
4. Admin Settings.

== Upgrade Notice ==
Before updating the plugin please check ["our latest release notes"](https://oneloopstudio.com/wordpress-plugins/ols-2fa/).

== Changelog ==

= 1.0.2 =
* First Release

= 1.0.1 =
* Plugin Review fixes.

= 1.0.0 =
* Initial release.
* Added email-based 2FA functionality.
