Module: CamaleonCms::RuntimeCaptchaImageConcern
- Extended by:
- ActiveSupport::Concern
- Includes:
- CaptchaImageGeneration
- Included in:
- CamaleonController, RuntimeStateConcern
- Defined in:
- app/controllers/concerns/camaleon_cms/runtime_captcha_image_concern.rb
Overview
Controller-stack entry point for captcha image generation: GET /captcha (CamaleonController#captcha) resolves cama_captcha_build through this concern. The implementation lives in CamaleonCms::CaptchaImageGeneration, shared with CamaleonCms::CaptchaHelper, so a captcha hardening fix cannot land in one entry point and not the other (parity is guarded by spec/lib/camaleon_cms/captcha_implementation_parity_spec.rb).
Constant Summary
Constants included from CaptchaImageGeneration
CaptchaImageGeneration::CAPTCHA_DEFAULT_LENGTH, CaptchaImageGeneration::CAPTCHA_MAX_LENGTH, CaptchaImageGeneration::CAPTCHA_MIN_LENGTH