Skip to content

Magento 2 Module to add the Friendly Captcha service to certain forms.

License

Notifications You must be signed in to change notification settings

iMi-digital/magento2-friendly-captcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9c92ab1 · Oct 29, 2024

History

68 Commits
Apr 27, 2021
Oct 18, 2023
Feb 20, 2024
Oct 18, 2023
Apr 27, 2021
Jan 5, 2024
Feb 14, 2024
Apr 28, 2021
Oct 29, 2024
Apr 26, 2021
Apr 26, 2021
Mar 1, 2024
Jun 27, 2024
Apr 27, 2021

Repository files navigation

IMI FriendlyCaptcha

Installing on Magento 2

1. Install using composer

From command line:

composer require imi/magento2-friendly-captcha
php bin/magento module:enable IMI_FriendlyCaptcha
php bin/magento setup:upgrade

2. Generate site key

https://friendlycaptcha.com/signup

3. Enable and configure from your Magento backend config

Stores > Configuration > Security > Friendly Captcha

Frontend

IMI_FriendlyCaptcha adds a Friendly Captcha widget to:

  • Login
  • Register
  • Contact form
  • Forgot password
  • Send to Friend
  • Newsletter signup*
  • Product Reviews

*If you are not using the Magento Newsletter function, please disable the Newsletter Captcha in the settings - otherwise it would still be loaded on each page and later removed via JavaScript.

Security Scan

This module is accepted by the Magento security scan by Adobe, which normally looks for Google ReCAPTCHA, i.e. replacing the ReCAPTCHA with the Friendly Captcha should not trigger any false positives.

Development

Updating the vendor code

cd view/frontend/web/js/vendor
rm -r friendly-challenge
npm pack friendly-challenge
tar -xvf friendly-challenge-*.tgz
rm friendly-challenge-*.tgz
mv package friendly-challenge

Then make a pullrequest.