Login and Password Security controls

Login and Password Security controls

Password Management (for Customers)

As a Marketplace Owner, you can specify specific configurations for how customers can manage their passwords and other advanced password options on the marketplace.
  1. Navigate to Stores > Settings > Configuration



  2. From the left menu of the configuration, search for Customers > Customer Configuration



  3. You will find a section to configure Password Options and Set the Password Complexity. 



  4. Once you are satisfied, simply choose Save Config from the top right.


Another important security function you can also look at is how you manage Google Recaptcha. This will prevent against any scripted/automated brute-force login attacks.

Learn more about how to configure your Captcha settings here: Configuring reCaptcha for the Marketplace

NOTE: At this point MFA (Multi-Factor Authentication) feature is not available on the front-end/customer accounts. 


Login Controls for Marketplace Owners / Vendors (any Back end user)

Configure Admin Security

  1. On the Admin sidebar, go to Stores > Settings > Configuration.


  2. In the left panel under Advanced, choose Admin.


  3. Expand theExpansion selector from the Security section.



  4. To prevent Admin users from logging in from the same account on different devices, set Admin Account Sharing to No.

  5. To determine the method that is used to manage password reset requests, set Password Reset Protection Type to one of the following:

    1. By IP and Email — The password can be reset online after a response is received from the notification is sent to the email address associated with the Admin account.

    2. By IP — The password can be reset online without additional confirmation.

    3. By Email — The password can be reset only by responding by email to the notification that is sent to the email address associated with the Admin account.

    4. None — The password can be reset only by the store administrator.

  6. Set login security options:

    1. In the Recovery Link Expiration Period (hours) field, enter the number of hours a password recovery link remains valid.

    2. To determine the maximum number of password requests that can be submitted per hour, enter the Max Number of Password Reset Requests.

    3. In the Min Time Between Password Reset Requests field, enter the minimum number of minutes that must pass between password reset requests.

    4. To append a secret key to the Admin URL as a precaution against exploits, set Add Secret Key to URLs to Yes. This setting is enabled by default.

    5. To require that the use of upper- and lowercase characters in any login credentials entered match what is stored in the system, set Login is Case Sensitive to Yes.

    6. To determine the length of an Admin session before it times out, enter the duration of the session in seconds, in the Admin Session Lifetime (seconds) field. The value must be 60 seconds or greater.

    7. In the Maximum Login Failures to Lockout Account field, enter the number of times a user can try to log in to the Admin before the account is locked. By default, six attempts are allowed. Leave the field empty for unlimited login attempts.

    8. In the Lockout Time (minutes) field, enter the number of minutes that an Admin account is locked when the maximum number of attempts is met.

  7. Set password options:

    1. To limit the lifetime of Admin passwords, enter the number of days a password is valid in the Password Lifetime (days) field. For an unlimited lifetime, leave the field blank.

    2. Set Password Change to one of the following:

      1. Forced — Requires that Admin users change their passwords after the account setup.

      2. Recommended — Recommends that Admin users change their passwords after the account setup.

  8. When complete, click Save Config.


Admin Password Requirements:
By default, an Admin password must be seven (7) or more characters long and include both letters and numbers.

Google reCAPTCHA

Much like Customer reCAPTCHA, you can also set this up for admin users on the marketplace. See Configuring reCaptcha for the Marketplace

Default Omnyfy - Admin CAPTCHA

For an extra level of security, you can add a CAPTCHA to the Admin Sign In and Forgot Password page. This specific CAPTCHA is for the marketplaces that cannot use Google (eg a China based Marketplace). There is a default Captcha available in the system for admin users. Admin users can reload the displayed CAPTCHA by clicking the Reload  icon in the upper-right corner of the image. The number of reloads is unlimited.

Admin - Sign in with CAPTCHA

To set this up, follow the below steps:

  1. On the Admin sidebar, go to Stores > Settings > Configuration.


  2. In the left panel under Advanced, choose Admin.


  3. Expand theExpansion selector from the CAPTCHA section.

  4. Set Enable CAPTCHA in Admin to Yes. Then complete the remaining options as follow:

    1. Enter the name of the Font to be used for CAPTCHA symbols (default: LinLibertine).

    2. To add your own font, the font file must reside in the same directory as your Commerce installation and must be declared in the config.xml file of the Captcha module at app/code/Magento/Captcha/etc.

    3. Select any of the following Forms where the CAPTCHA is to be used. To choose multiple forms, hold down the Ctrl key (PC) or Command key (Mac).

      1. Admin Login

      2. Admin Forgot Password

    4. Set Displaying Modes to one of the following:

      1. Always — CAPTCHA is always required to log in to the Admin.

      2. After number of attempts to login — This option applies only to the Admin Login form. When selected, the Number of Unsuccessful Attempts to Login field appears. Enter the number of login attempts that you want to allow. A value of 0 (zero) is similar to setting Displaying Mode to Always.

    5. To track the number of unsuccessful login attempts, each attempt to log in under one email address and from one IP-address is counted. The maximum number of login attempts allowed from the same IP-address is 1,000. This limitation applies only when CAPTCHA is enabled.

    6. In the Number of Unsuccessful Attempts to Login field, enter the number of times the administrator can try to log in before the CAPTCHA appears. If set to zero (0), CAPTCHA is always required.

    7. In the CAPTCHA Timeout (minutes) field, enter the number of minutes before the CAPTCHA expires. When the CAPTCHA expires, the administrator must reload the page.

    8. Enter the Number of Symbols to appear in the CAPTCHA. Up to eight (8) symbols can be used. For a variable number of symbols that changes with each CAPTCHA, enter a range (such as 5-8).

    9. In the Symbols Used in CAPTCHA field, enter the letters (a-z and A-Z) and numbers (0-9) that you want to appear randomly in the CAPTCHA. Symbols that are hard to distinguish from other symbols, such as il, or 1, are not included in the default set of CAPTCHA symbols.

    10. Set Case Sensitive to Yes if you want to require administrators to enter the characters in upper- or lowercase exactly as shown in the CAPTCHA.

  5. When complete, click Save Config.



Multi-Factor Authentication (MFA)

At this point, Multi-Factor Authentication can only be configured for the Admin users on Omnyfy back-end using Google Authenticator. To enable Multi-Factor Authentication on the Omnyfy Backend Please contact Omnyfy SupportWe highly recommend enabling MFA on the Omnyfy Backend for enhanced security.

    • Related Articles

    • Configuring reCaptcha for the Marketplace

      Obtaining your Google reCaptcha keys To prevent your website from being overloaded by spambots or brute force entry, you can implement Google reCaptcha to minimise the impact of spam submissions and unauthorised entry. Get your Google reCaptcha from ...
    • Creating your Google Analytics Tracking Code

      Google Analytics can help you to get additional tracking for your marketplace. This guide is designed to help you set up the linking of you Google Analytics account (Universal Analytics) to the Omnyfy platform, and does not cover SEO advice. Please ...
    • Integrating Google Tag Manager (GA4) with a Module

      Overview Omnyfy can provide a module to allow you to sync your Google Tag Manager Account with the marketplace through a module configuration. You will need the following: A Google account with access to the Google Tag Manager (preferably the ...