ForgeHub Two-Factor Email OTP Login
$0.00 – $129.00
Protect WordPress administrator logins with a 6-digit single-use email OTP code sent via wp_mail—zero authenticator apps, zero SMS fees, and zero external APIs—plus Pro Role-Based 2FA for all roles, 30-Day Remember This Device cookies, and 8 single-use hashed recovery codes.
Download Free — No Account Required
Full core functionality with zero artificial limits or nags. Download directly from GitHub Releases or WordPress.org.
Description
Zero-Friction WordPress Two-Factor Authentication Over Native Email
Problem: Brute-force attacks and leaked passwords remain the #1 cause of compromised WordPress sites, yet many teams avoid TOTP authenticator apps or paid SMS gateways because non-technical staff get locked out or refuse to install extra phone apps.
Solution: ForgeHub Two-Factor Email OTP Login intercepts administrator logins cleanly, pauses the session with wp_clear_auth_cookie(), hashes a cryptographically secure 6-digit OTP code in a short-lived transient, and sends it via native wp_mail(). Once verified on the branded login challenge screen, the login completes seamlessly. In Pro, extend 2FA enforcement to any WordPress or WooCommerce role (Editor, Shop Manager, Customer, and custom roles), let verified users remember trusted devices for 30 days with HttpOnly cookies and one-click revocation, and generate 8 single-use hashed emergency recovery codes.
Key Features
- Administrator Email OTP Protection (Free): Automatically intercepts administrator logins, pauses the auth session, and requires a 6-digit single-use code emailed via
wp_mail(). - Hardened Security Controls (Free): Uses
random_int(), hashed transient storage, configurable expiry window, resend cooldown, brute-force max-attempt lockout, and a built-in Test Email delivery check before enabling. - Customizable Email Subject & Template (Free): Tailor the OTP email subject and body with dynamic placeholders (
{code},{site_name},{expiry}). - Pro Role-Based Enforcement: Enforce 2FA selectively across any WordPress or WooCommerce role—including Editors, Authors, Shop Managers, and Customers.
- Pro 30-Day Trusted Devices & 8 Recovery Codes: Allow users to trust a browser for 30 days via signed HttpOnly/SameSite cookies with admin/user revocation, plus 8 single-use hashed backup codes (
XXXX-XXXX) for email outages.
Free vs Pro Comparison
| Feature | Free | Pro |
|---|---|---|
| 6-Digit Single-Use Email OTP Login for Administrators | Included | Included |
| Hashed OTP Storage, Expiry, Resend Cooldown & Attempt Lockout | Included | Included |
| Customizable OTP Email Template & Built-In Test Email Tool | Included | Included |
| Zero External APIs, Zero Authenticator Apps & Zero SMS Fees | Included | Included |
| Role-Based 2FA Enforcement (Editor, Shop Manager, Customer & More) | — | Included |
| Remember This Device for 30 Days (HttpOnly Cookie + Revocation) | — | Included |
8 Single-Use Hashed Emergency Recovery Codes (XXXX-XXXX) |
— | Included |
| Priority Support | — | Included |
100% Native & Lockout-Safe Architecture
Starts disabled by default on fresh activation so you can run the built-in Test Email check first, uses zero external services, and ships with a calm Zero-Nag admin interface.
Frequently Asked Questions
Will activating the plugin immediately lock me out if my server cannot send email?
No. Email 2FA starts disabled on fresh activation so you can click the built-in Test Email button first and verify inbox delivery before turning enforcement on.
Does ForgeHub Two-Factor Email OTP Login require an authenticator app or paid SMS service?
No. It uses WordPress’s native wp_mail() (compatible with any SMTP plugin such as ForgeHub SMTP Mailer) with zero third-party cloud dependencies.
How do Pro 30-Day Trusted Devices work?
Users can check “Remember this device for 30 days” on the OTP screen. A signed, hashed token is stored in an HttpOnly / SameSite=Lax cookie and can be revoked at any time from settings.
What happens if a user loses access to their email inbox?
With Pro enabled, users can enter any of their 8 single-use hashed recovery codes (XXXX-XXXX) on the OTP verification screen to regain access safely.
Optional Pro & Priority Support
The Free core is complete and yours forever. Upgrade only if you need automation, agency scale, or priority support.

