imi/magento2-friendly-captcha

Friendly Captcha integration for Magento2

Installs: 63 716

Dependents: 0

Suggesters: 0

Security: 0

Stars: 16

Watchers: 7

Forks: 13

Open Issues: 5

Type:magento2-module

3.0.1 2024-10-29 09:44 UTC

README

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.