{"id":405153,"date":"2026-11-24T16:43:52","date_gmt":"2026-11-24T16:43:52","guid":{"rendered":"https:\/\/fr.wordpress.org\/plugins\/l2s-secureauth\/"},"modified":"2026-11-24T16:43:33","modified_gmt":"2026-11-24T16:43:33","slug":"l2s-login-otp-2fa","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/l2s-login-otp-2fa\/","author":20071002,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.5","requires":"6.2","requires_php":"8.0","requires_plugins":null,"header_name":"L2S Login OTP 2FA","header_author":"L2S.io","header_description":"Two-factor authentication for WordPress: authenticator app, email, SMS, biometrics (WebAuthn) and recovery codes.","last_updated":"2026-11-24 16:43:33","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/l2s.io\/en\/l2s-login-otp-2fa-en\/","header_author_uri":"https:\/\/www.l2s.io","rating":0,"author_block_rating":0,"active_installs":0,"downloads":39,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"landolsi","date":"2026-11-24 16:43:33","revision":3820991}},"upgrade_notice":{"1.0.0":"<p>First public release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3820987,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3820987,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3820987,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3820987,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3820987,"resolution":"1","location":"assets","locale":"","width":1502,"height":885},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3820987,"resolution":"2","location":"assets","locale":"","width":1597,"height":897},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3820987,"resolution":"3","location":"assets","locale":"","width":1557,"height":897},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3820987,"resolution":"4","location":"assets","locale":"","width":1600,"height":768}},"screenshots":{"1":"Second step of the login screen with the one-time code field.","2":"Choosing a verification method.","3":"Setting up the authenticator app with a QR code in the user profile.","4":"Plugin settings page."}},"plugin_section":[],"plugin_tags":[9211,602,9210,600,9217],"plugin_category":[38,54],"plugin_contributors":[295095],"plugin_business_model":[],"class_list":["post-405153","plugin","type-plugin","status-publish","hentry","plugin_tags-2fa","plugin_tags-login","plugin_tags-otp","plugin_tags-security","plugin_tags-two-factor","plugin_category-authentication","plugin_category-security-and-spam-protection","plugin_contributors-landolsi","plugin_committers-landolsi"],"banners":{"banner":"https:\/\/ps.w.org\/l2s-login-otp-2fa\/assets\/banner-772x250.png?rev=3820987","banner_2x":"https:\/\/ps.w.org\/l2s-login-otp-2fa\/assets\/banner-1544x500.png?rev=3820987","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/l2s-login-otp-2fa\/assets\/icon-128x128.png?rev=3820987","icon_2x":"https:\/\/ps.w.org\/l2s-login-otp-2fa\/assets\/icon-256x256.png?rev=3820987","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/l2s-login-otp-2fa\/assets\/screenshot-1.png?rev=3820987","caption":"Second step of the login screen with the one-time code field."},{"src":"https:\/\/ps.w.org\/l2s-login-otp-2fa\/assets\/screenshot-2.png?rev=3820987","caption":"Choosing a verification method."},{"src":"https:\/\/ps.w.org\/l2s-login-otp-2fa\/assets\/screenshot-3.png?rev=3820987","caption":"Setting up the authenticator app with a QR code in the user profile."},{"src":"https:\/\/ps.w.org\/l2s-login-otp-2fa\/assets\/screenshot-4.png?rev=3820987","caption":"Plugin settings page."}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p><strong>Available methods<\/strong><\/p>\n\n<ul>\n<li><strong>Authenticator app (TOTP)<\/strong>: 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.<\/li>\n<li><strong>Email<\/strong>: a one-time code sent to the user's email address, with a customizable email template.<\/li>\n<li><strong>SMS<\/strong>: a one-time code sent by text message through Twilio, Vonage (Nexmo) or TunisieSMS.<\/li>\n<li><strong>Biometrics \/ security key (WebAuthn)<\/strong>: fingerprint, face recognition, device PIN or a hardware security key. Requires HTTPS.<\/li>\n<li><strong>Recovery codes<\/strong>: single-use backup codes, with an email alert each time one is used.<\/li>\n<\/ul>\n\n<p><strong>Features<\/strong><\/p>\n\n<ul>\n<li>Each administrator chooses which methods are available, and whether administrators are exempt.<\/li>\n<li>Each user configures their methods from their profile and can pick a default one; other methods stay available via \"Another method\".<\/li>\n<li>Per-method limits: number of attempts, temporary lock duration and resend delay (with countdown).<\/li>\n<li>SMS sending history, with the codes masked.<\/li>\n<li>Interface in English, French, Spanish and German. The plugin follows the user's language and falls back to English for any other language.<\/li>\n<li>Emergency switch: add <code>define( 'L2SOTP_DISABLE', true );<\/code> to <code>wp-config.php<\/code> to turn off two-factor authentication.<\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>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.<\/p>\n\n<p><strong>Twilio<\/strong> (api.twilio.com) - SMS delivery.\nTerms of service: https:\/\/www.twilio.com\/legal\/tos\nPrivacy policy: https:\/\/www.twilio.com\/legal\/privacy<\/p>\n\n<p><strong>Vonage \/ Nexmo<\/strong> (rest.nexmo.com) - SMS delivery.\nTerms of service: https:\/\/www.vonage.com\/legal\/\nPrivacy policy: https:\/\/www.vonage.com\/legal\/privacy-policy\/<\/p>\n\n<p><strong>TunisieSMS<\/strong> (api.l2t.io, operated by L2T, owner of TunisieSMS) - SMS delivery in Tunisia.\nCompany: https:\/\/www.L2T.io\nProduct: https:\/\/www.TunisieSMS.tn\nTerms of service: https:\/\/www.tunisiesms.tn\/cgv\/\nPrivacy policy: https:\/\/www.tunisiesms.tn\/confidentialite\/<\/p>\n\n<p>No other data is sent to external services. Authenticator app codes, biometrics and recovery codes are verified locally on your site.<\/p>\n\n<h3>Third-party libraries<\/h3>\n\n<ul>\n<li>WebAuthn by Lukas Buchs (MIT license) - https:\/\/github.com\/lbuchs\/WebAuthn<\/li>\n<li>QR Code Generator for JavaScript by Kazuhiko Arase (MIT license) - https:\/\/github.com\/kazuhikoarase\/qrcode-generator<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>l2s-login-otp-2fa<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install the zip from <strong>Plugins &gt; Add New &gt; Upload Plugin<\/strong>.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Open the <strong>L2S OTP<\/strong> menu and enable the methods you want (and configure your SMS provider if you use SMS).<\/li>\n<li>Each user then sets up their methods from <strong>Users &gt; Profile<\/strong>.<\/li>\n<\/ol>\n\n<p><strong>Important:<\/strong> before enabling two-factor authentication for administrators, test it on your own account and save your recovery codes.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"i%20am%20locked%20out.%20how%20can%20i%20log%20in%3F\"><h3>I am locked out. How can I log in?<\/h3><\/dt>\n<dd><p>Use one of your recovery codes. If you have none left, an administrator can reset your methods. As a last resort, add <code>define( 'L2SOTP_DISABLE', true );<\/code> to <code>wp-config.php<\/code>, or rename the <code>wp-content\/plugins\/l2s-login-otp-2fa<\/code> folder via FTP.<\/p><\/dd>\n<dt id=\"i%20don%27t%20receive%20the%20email%20codes.\"><h3>I don't receive the email codes.<\/h3><\/dt>\n<dd><p>Check your spam folder. Many hosts do not send WordPress emails reliably; configure SMTP with a dedicated plugin.<\/p><\/dd>\n<dt id=\"biometrics%20do%20not%20work.\"><h3>Biometrics do not work.<\/h3><\/dt>\n<dd><p>WebAuthn requires HTTPS (or <code>localhost<\/code> for testing) and a compatible browser and device.<\/p><\/dd>\n<dt id=\"is%20the%20sms%20method%20free%3F\"><h3>Is the SMS method free?<\/h3><\/dt>\n<dd><p>The plugin is free, but sending SMS requires an account with one of the supported SMS providers, which charge for each message.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First public release.<\/li>\n<li>Authenticator app, email, SMS (Twilio, Vonage, TunisieSMS), biometrics (WebAuthn) and recovery codes.<\/li>\n<li>Per-method limits, resend countdown, SMS history.<\/li>\n<li>English, French, Spanish and German.<\/li>\n<\/ul>","raw_excerpt":"Two-factor authentication for WordPress: authenticator app, email, SMS, biometrics (WebAuthn) and recovery codes.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/405153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=405153"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/landolsi"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=405153"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=405153"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=405153"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=405153"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=405153"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=405153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}