You have no items in your shopping cart.

LoginWithEmail

LoginWithEmail

$20.00

Allow customers to login with either Email Address or Username.

Let Customers Log In with Their Username or Email

When your nopCommerce store is configured to use username-based authentication, customers must remember the exact username they registered with. In practice, many customers try their email address instead — and fail to log in. The Login with Username or Email plugin eliminates this friction by accepting either value in the login field, transparently resolving the correct account regardless of what the customer types.

The plugin integrates directly into the nopCommerce authentication pipeline without modifying core platform files. It preserves all existing security features — including CAPTCHA validation and multi-factor authentication — so you get broader login flexibility without compromising store security.

Key Benefits

  • Fewer failed logins. Customers can authenticate with whichever identifier they remember — username or email — without needing to know which one they used at registration.
  • No disruption to existing security settings. CAPTCHA and multi-factor authentication continue to work exactly as configured in your store.
  • Multi-store ready. The plugin can be enabled or disabled independently for each store in a multi-store nopCommerce setup.
  • Zero impact on store customisation. The plugin does not override your storefront theme or inject markup into any page zone.
  • Built-in diagnostics. A debug mode with a downloadable log file makes it straightforward to investigate any authentication issues.

Main Features

  • Email-as-username fallback. When a username lookup returns no match, the plugin automatically performs a second lookup by email address, then resolves the corresponding username for sign-in.
  • Per-store enable/disable toggle. Administrators can activate or deactivate the plugin on a per-store basis from a dedicated configuration page, with a global default and store-level overrides.
  • CAPTCHA support. The login action honours the store's existing CAPTCHA settings — no additional configuration required.
  • Multi-factor authentication pass-through. If the customer's account requires MFA, the plugin redirects to the standard MFA verification step as expected.
  • Full login failure handling. All standard nopCommerce login failure states are handled correctly: account not found, deleted, inactive, not registered, locked out, and wrong password.
  • Debug mode with log management. Enable diagnostic logging from the admin panel, download the log file for inspection, or clear it — all without accessing the server file system directly.

Why Buy This Plugin

Implementing a reliable email-as-username fallback in nopCommerce requires overriding the core customer registration service via the dependency injection system, intercepting the login route at the right priority, and ensuring compatibility with CAPTCHA, MFA, and all authentication failure paths. Building and maintaining this as a custom solution demands significant platform knowledge and ongoing upkeep across nopCommerce updates. This plugin delivers a tested, self-contained implementation that installs in minutes:

  • Ready-to-use after installation — no custom development needed.
  • Managed from the standard nopCommerce admin panel.
  • Compatible with multi-store configurations out of the box.
  • Includes diagnostic tooling to support troubleshooting without server access.

How It Works

  1. Install the plugin through the nopCommerce admin panel and restart the application if prompted.
  2. Open the plugin configuration page and enable the plugin for your store (or for each individual store in a multi-store setup).
  3. Update the login field label in your store's locale resources — change the Account.Login.Fields.UserName string to Username/Email so customers understand both values are accepted.
  4. A customer visits the login page and enters either their username or their email address in the login field.
  5. The plugin attempts a username lookup first. If no matching account is found, it automatically performs an email lookup and resolves the correct username for the session.
  6. Standard checks proceed as normal — CAPTCHA is validated, MFA is triggered if required, and all account status conditions (locked out, inactive, etc.) are enforced.

Compatibility / Requirements

  • Supported nopCommerce version: 4.90, 4.80, 4.70, 4.60
  • License: A FoxNetSoft serial number is required for production use. A 30-day trial is available after installation.
  • Username-based authentication must be active: The plugin requires UsernamesEnabled to be set to true in the nopCommerce Customer Settings. It has no effect on stores configured to use email-only authentication.

Powered by nopCommerce

Copyright © 2026 FoxNetSoft. All rights reserved.