From 977697a18d1bab2c9588e89ce9d2602dc4f388cb Mon Sep 17 00:00:00 2001 From: "Agilelab.fr" Date: Sat, 22 Feb 2025 01:17:15 +0100 Subject: [PATCH] AgilelabFr CAPTCHA Bundle (#1758) * AgilelabFr CAPTCHA Bundle * AgilelabFr CAPTCHA Bundle - case sensitive config --- .../1.0/config/packages/agilelab_fr_captcha.yaml | 12 ++++++++++++ .../1.0/config/routes/agilelab_fr_captcha.yaml | 2 ++ agilelab-fr/captcha-bundle/1.0/manifest.json | 8 ++++++++ 3 files changed, 22 insertions(+) create mode 100644 agilelab-fr/captcha-bundle/1.0/config/packages/agilelab_fr_captcha.yaml create mode 100644 agilelab-fr/captcha-bundle/1.0/config/routes/agilelab_fr_captcha.yaml create mode 100644 agilelab-fr/captcha-bundle/1.0/manifest.json diff --git a/agilelab-fr/captcha-bundle/1.0/config/packages/agilelab_fr_captcha.yaml b/agilelab-fr/captcha-bundle/1.0/config/packages/agilelab_fr_captcha.yaml new file mode 100644 index 00000000..97abdada --- /dev/null +++ b/agilelab-fr/captcha-bundle/1.0/config/packages/agilelab_fr_captcha.yaml @@ -0,0 +1,12 @@ +captcha_bundle: + width: 120 + height: 40 + length: 6 + lines: 8 + characters: 'ABCDEFGHJKLMNPQRSTUVWXYZ23456789' + case_sensitive: true + +# Uncomment to render the twig block for captcha +#twig: +# form_themes: +# - '@AgilelabFrCaptcha/form/agilelab_fr_captcha.html.twig' diff --git a/agilelab-fr/captcha-bundle/1.0/config/routes/agilelab_fr_captcha.yaml b/agilelab-fr/captcha-bundle/1.0/config/routes/agilelab_fr_captcha.yaml new file mode 100644 index 00000000..6a2f6037 --- /dev/null +++ b/agilelab-fr/captcha-bundle/1.0/config/routes/agilelab_fr_captcha.yaml @@ -0,0 +1,2 @@ +agilelab_fr_captcha_bundle.routes: + resource: '@AgilelabFrCaptchaBundle/config/routes.yaml' diff --git a/agilelab-fr/captcha-bundle/1.0/manifest.json b/agilelab-fr/captcha-bundle/1.0/manifest.json new file mode 100644 index 00000000..82f832be --- /dev/null +++ b/agilelab-fr/captcha-bundle/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "AgilelabFr\\CaptchaBundle\\AgilelabFrCaptchaBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}