Skip to content

Replace image generation with base64 encoding

License

AFL-3.0, OSL-3.0 licenses found

Licenses found

AFL-3.0
LICENSE_AFL.txt
OSL-3.0
LICENSE_OSL.txt
Notifications You must be signed in to change notification settings

maciejbuchert/magento2-captcha-base64-encoding

Repository files navigation

Magento Captcha image generation replacement

For unknown reason, Magento Captcha module generate and save images for forms like registration, login or contact page. That takes up the disk and does not clean it.

That module replaces image generation with base64 encoding, so image is generated but not saved

Module has been created with Magento 2.4.5, but it could work with other versions

#How to install

  1. Download the newest release
  2. Extract it to app/code/MaciejBuchert/CaptchaBase64Encoding directory
  3. Execute commands
    1. php bin/magento module:enable MaciejBuchert_CaptchaBase64Encoding
    2. php bin/magento setup:upgrade
    3. php bin/magento setup:di:compile
    4. php bin/magento cache:flush

About

Replace image generation with base64 encoding

Resources

License

AFL-3.0, OSL-3.0 licenses found

Licenses found

AFL-3.0
LICENSE_AFL.txt
OSL-3.0
LICENSE_OSL.txt

Stars

Watchers

Forks

Sponsor this project