User Guide of Magento 2 Restrict Fake Registrations Extension

At the backend, go to FME EXTENSIONS > Configurations. Here you can find the extension configurations.

General Configurations

  • Maximum characters for First Name: Specify the maximum number of characters allowed for the first name.
  • Enable characters limit on Middle Name: Choose ‘Yes’ if you want to activate registration restriction based on the character limit for the middle name.
  • Maximum characters for Middle Name: Specify the maximum number of characters allowed for the middle name.
  • Enable characters limit on Last Name: Select ‘Yes’ if you want to enable registration restriction based on the character limit for the last name.
  • Maximum characters for Last Name: Specify the maximum number of characters allowed for the last name.

names.png

  • Restriction message for Character Limit: Write an error message to display when a user exceeds the character limit. %1 will automatically retrieve the maximum allowed characters and %2 will retrieve the name field that is restricted.

message.png

  • Enable Special Characters Restriction: Select ‘Yes’ if you want to enable registration restriction on the use of special characters.
  • Special Characters: Specify the special characters you want to apply restrictions on.
  • Special Characters action: Specify whether you want to allow or restrict the specified special characters.
  • Restriction message for Special Characters: Write the error message to be shown when a user uses the special characters.

special characters.png

  • Enable Email Domain Restriction: Select ‘Yes’ if you want to enable registration restriction based on specific email domains
  • Email Domain: Specify the comma separated email domains you want to apply restrictions on.
  • Email Domain Action: Specify whether you want to allow or restrict the specified email domains.
  • Restriction message for Email Domains: Write the error message to be shown when a user tries to register from one of the specified email domains.

email.png

  • Enable IP Address Restriction: Select ‘Yes’ if you want to enable registration restriction based on specific IP addresses.
  • IP Address: Specify the comma separated IP addresses you want to apply restrictions on.
  • IP Address action: Specify whether you want to allow or restrict the specified IP addresses.
  • Restriction message for IP Address: Write the error message to be shown when a user tries to register from one of the specified IP addresses.

ip.jpg

Maintain Logs

Under this section, you will see the following options.

  • Maintain Logs in: Decide whether to keep a log of restricted registration attempts. If you opt to ‘Disable’ it, the subsequent options will disappear. You can choose to maintain the log in the Database, File or both.
  • Clear logs after (Days): Specify the number of days after which you want to clear the log. Specifying 0 will keep the log.
  • Request to Log: Select the type of restriction for which you want to maintain a log

log.png

Email Notification

Under this section, you see the following options.

  • Email Enable: Decide whether you want to send emails on restricted registration attempts. If you opt to ‘Disable’ it, the subsequent options will disappear.
  • Sender: Select the sender email.
  • Receiver: Specify the receiver email.
  • Send Email on: Select the type of restriction for which you want to send email notifications.
  • Send Email on Errors: Select whether you want to send emails on failed registration attempts only once or repeatedly after a certain number of days.

email notifications.png

Failed Registration Failed Reasons

Go to FMEExtensions and click on Fake Registration Failed Reasons. It will show you all the registration attempts with reason of restriction as shown below.

failed reasons.png

Frontend

frontend.png