
L2S Login OTP 2FA
v1.0.0LANDOLSI SMART SOLUTION - L2S · 2026年11月24日 上架
Two-factor authentication for WordPress: authenticator app, email, SMS, biometrics (WebAuthn) and recovery codes.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 39
- 最近更新
- 2026年11月25日
截图
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 );towp-config.phpto 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



