Title: L2S Login OTP 2FA
Author: LANDOLSI SMART SOLUTION - L2S
Published: <strong>November 24, 2026</strong>
Last modified: November 24, 2026

---

Search plugins

![](https://ps.w.org/l2s-login-otp-2fa/assets/banner-772x250.png?rev=3820987)

![](https://ps.w.org/l2s-login-otp-2fa/assets/icon-256x256.png?rev=3820987)

# L2S Login OTP 2FA

 By [LANDOLSI SMART SOLUTION – L2S](https://profiles.wordpress.org/landolsi/)

[Download](https://downloads.wordpress.org/plugin/l2s-login-otp-2fa.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/l2s-login-otp-2fa/#description)
 * [Reviews](https://wordpress.org/plugins/l2s-login-otp-2fa/#reviews)
 *  [Installation](https://wordpress.org/plugins/l2s-login-otp-2fa/#installation)
 * [Development](https://wordpress.org/plugins/l2s-login-otp-2fa/#developers)

 [Support](https://wordpress.org/support/plugin/l2s-login-otp-2fa/)

## Description

L2S Login OTP 2FA adds a second step to the WordPress login. After entering their
password, users confirm their identity with a second factor before the login cookie
is set.

**Available methods**

 * **Authenticator app (TOTP)**: 6-digit codes from Google Authenticator, Microsoft
   Authenticator, Authy, 1Password and any RFC 6238 app. The QR code is generated
   in the browser; the secret never leaves your site.
 * **Email**: a one-time code sent to the user’s email address, with a customizable
   email template.
 * **SMS**: a one-time code sent by text message through Twilio, Vonage (Nexmo) 
   or TunisieSMS.
 * **Biometrics / security key (WebAuthn)**: fingerprint, face recognition, device
   PIN or a hardware security key. Requires HTTPS.
 * **Recovery codes**: single-use backup codes, with an email alert each time one
   is used.

**Features**

 * Each administrator chooses which methods are available, and whether administrators
   are exempt.
 * Each user configures their methods from their profile and can pick a default 
   one; other methods stay available via “Another method”.
 * Per-method limits: number of attempts, temporary lock duration and resend delay(
   with countdown).
 * SMS sending history, with the codes masked.
 * Interface in English, French, Spanish and German. The plugin follows the user’s
   language and falls back to English for any other language.
 * Emergency switch: add `define( 'L2SOTP_DISABLE', true );` to `wp-config.php` 
   to turn off two-factor authentication.

### External services

This plugin connects to external services only for the SMS method, and only when
an administrator enables it and selects a provider. Each time a code is sent by 
SMS (at login, or when the administrator sends a test SMS), the plugin sends the
recipient’s phone number and the message text (which contains the one-time code)
to the selected provider, along with the provider credentials entered in the settings.
The administrator’s “test connection” buttons also query the provider for the account
status or balance.

**Twilio** (api.twilio.com) – SMS delivery.
 Terms of service: https://www.twilio.
com/legal/tos Privacy policy: https://www.twilio.com/legal/privacy

**Vonage / Nexmo** (rest.nexmo.com) – SMS delivery.
 Terms of service: https://www.
vonage.com/legal/ Privacy policy: https://www.vonage.com/legal/privacy-policy/

**TunisieSMS** (api.l2t.io, operated by L2T, owner of TunisieSMS) – SMS delivery
in Tunisia.
 Company: https://www.L2T.io Product: https://www.TunisieSMS.tn Terms
of service: https://www.tunisiesms.tn/cgv/ Privacy policy: https://www.tunisiesms.
tn/confidentialite/

No other data is sent to external services. Authenticator app codes, biometrics 
and recovery codes are verified locally on your site.

### Third-party libraries

 * WebAuthn by Lukas Buchs (MIT license) – https://github.com/lbuchs/WebAuthn
 * QR Code Generator for JavaScript by Kazuhiko Arase (MIT license) – https://github.
   com/kazuhikoarase/qrcode-generator

## Screenshots

[⌊Second step of the login screen with the one-time code field.⌉⌊Second step of 
the login screen with the one-time code field.⌉[

Second step of the login screen with the one-time code field.

[⌊Choosing a verification method.⌉⌊Choosing a verification method.⌉[

Choosing a verification method.

[⌊Setting up the authenticator app with a QR code in the user profile.⌉⌊Setting 
up the authenticator app with a QR code in the user profile.⌉[

Setting up the authenticator app with a QR code in the user profile.

[⌊Plugin settings page.⌉⌊Plugin settings page.⌉[

Plugin settings page.

## Installation

 1. Upload the `l2s-login-otp-2fa` folder to `/wp-content/plugins/`, or install the
    zip from **Plugins > Add New > Upload Plugin**.
 2. Activate the plugin.
 3. Open the **L2S OTP** menu and enable the methods you want (and configure your SMS
    provider if you use SMS).
 4. Each user then sets up their methods from **Users > Profile**.

**Important:** before enabling two-factor authentication for administrators, test
it on your own account and save your recovery codes.

## FAQ

### I am locked out. How can I log in?

Use one of your recovery codes. If you have none left, an administrator can reset
your methods. As a last resort, add `define( 'L2SOTP_DISABLE', true );` to `wp-config.
php`, or rename the `wp-content/plugins/l2s-login-otp-2fa` folder via FTP.

### I don’t receive the email codes.

Check your spam folder. Many hosts do not send WordPress emails reliably; configure
SMTP with a dedicated plugin.

### Biometrics do not work.

WebAuthn requires HTTPS (or `localhost` for testing) and a compatible browser and
device.

### Is the SMS method free?

The plugin is free, but sending SMS requires an account with one of the supported
SMS providers, which charge for each message.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“L2S Login OTP 2FA” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ LANDOLSI SMART SOLUTION – L2S ](https://profiles.wordpress.org/landolsi/)

[Translate “L2S Login OTP 2FA” into your language.](https://translate.wordpress.org/projects/wp-plugins/l2s-login-otp-2fa)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/l2s-login-otp-2fa/),
check out the [SVN repository](https://plugins.svn.wordpress.org/l2s-login-otp-2fa/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/l2s-login-otp-2fa/)
by [RSS](https://plugins.trac.wordpress.org/log/l2s-login-otp-2fa/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * First public release.
 * Authenticator app, email, SMS (Twilio, Vonage, TunisieSMS), biometrics (WebAuthn)
   and recovery codes.
 * Per-method limits, resend countdown, SMS history.
 * English, French, Spanish and German.

## Meta

 *  Version **1.0.0**
 *  Last updated **3 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 8.0 or higher **
 * Tags
 * [2FA](https://wordpress.org/plugins/tags/2fa/)[login](https://wordpress.org/plugins/tags/login/)
   [otp](https://wordpress.org/plugins/tags/otp/)[security](https://wordpress.org/plugins/tags/security/)
   [two factor](https://wordpress.org/plugins/tags/two-factor/)
 *  [Advanced View](https://wordpress.org/plugins/l2s-login-otp-2fa/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/l2s-login-otp-2fa/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/l2s-login-otp-2fa/reviews/)

## Contributors

 *   [ LANDOLSI SMART SOLUTION – L2S ](https://profiles.wordpress.org/landolsi/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/l2s-login-otp-2fa/)