From b5ae19111ad7363062989a02c940db0c04089f3d Mon Sep 17 00:00:00 2001 From: karser Date: Thu, 9 Jan 2020 20:07:57 +0200 Subject: [PATCH] Added KarserRecaptcha3Bundle --- .../0.1/config/packages/karser_recaptcha3.yaml | 5 +++++ karser/karser-recaptcha3-bundle/0.1/manifest.json | 13 +++++++++++++ .../karser-recaptcha3-bundle/0.1/post-install.txt | 6 ++++++ 3 files changed, 24 insertions(+) create mode 100644 karser/karser-recaptcha3-bundle/0.1/config/packages/karser_recaptcha3.yaml create mode 100644 karser/karser-recaptcha3-bundle/0.1/manifest.json create mode 100644 karser/karser-recaptcha3-bundle/0.1/post-install.txt diff --git a/karser/karser-recaptcha3-bundle/0.1/config/packages/karser_recaptcha3.yaml b/karser/karser-recaptcha3-bundle/0.1/config/packages/karser_recaptcha3.yaml new file mode 100644 index 00000000..71f4fcdd --- /dev/null +++ b/karser/karser-recaptcha3-bundle/0.1/config/packages/karser_recaptcha3.yaml @@ -0,0 +1,5 @@ +karser_recaptcha3: + site_key: '%env(RECAPTCHA3_KEY)%' + secret_key: '%env(RECAPTCHA3_SECRET)%' + score_threshold: 0.5 + enabled: true diff --git a/karser/karser-recaptcha3-bundle/0.1/manifest.json b/karser/karser-recaptcha3-bundle/0.1/manifest.json new file mode 100644 index 00000000..c2147802 --- /dev/null +++ b/karser/karser-recaptcha3-bundle/0.1/manifest.json @@ -0,0 +1,13 @@ +{ + "bundles": { + "Karser\\Recaptcha3Bundle\\KarserRecaptcha3Bundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "Get your API key and secret from https://g.co/recaptcha/v3", + "RECAPTCHA3_KEY": "my_site_key", + "RECAPTCHA3_SECRET": "my_secret" + } +} diff --git a/karser/karser-recaptcha3-bundle/0.1/post-install.txt b/karser/karser-recaptcha3-bundle/0.1/post-install.txt new file mode 100644 index 00000000..2d991483 --- /dev/null +++ b/karser/karser-recaptcha3-bundle/0.1/post-install.txt @@ -0,0 +1,6 @@ + + What's next for Karser Recaptcha3 Bundle? + + + * Make sure you have proper values in your .env file + * Read the documentation at https://github.com/karser/KarserRecaptcha3Bundle