diff --git a/tito10047/altcha-bundle/2.0/config/packages/altcha.yaml b/tito10047/altcha-bundle/2.0/config/packages/altcha.yaml new file mode 100644 index 00000000..abc9ccb8 --- /dev/null +++ b/tito10047/altcha-bundle/2.0/config/packages/altcha.yaml @@ -0,0 +1,8 @@ +altcha: + hmacKey: '%env(ALTCHA_SECRET)%' + enable: true + include_script: true + +when@test: + altcha: + enable: false diff --git a/tito10047/altcha-bundle/2.0/config/routes/altcha.yaml b/tito10047/altcha-bundle/2.0/config/routes/altcha.yaml new file mode 100644 index 00000000..f6c7313d --- /dev/null +++ b/tito10047/altcha-bundle/2.0/config/routes/altcha.yaml @@ -0,0 +1,2 @@ +altcha: + resource: '@AltchaBundle/config/routes.yml' diff --git a/tito10047/altcha-bundle/2.0/manifest.json b/tito10047/altcha-bundle/2.0/manifest.json new file mode 100644 index 00000000..bbe15036 --- /dev/null +++ b/tito10047/altcha-bundle/2.0/manifest.json @@ -0,0 +1,11 @@ +{ + "bundles": { + "Tito10047\\AltchaBundle\\AltchaBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "ALTCHA_SECRET": "%generate(secret)%" + } +}