Skip to content

Commit 3745721

Browse files
committed
feat(anti spam): switch to altcha
1 parent 85aafdc commit 3745721

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
imports:
2+
- { resource: "@MonsieurBizSyliusAntiSpamPlugin/Resources/config/config.yaml" }
3+
4+
services:
5+
# Add the "monsieurbiz_anti_spam.quarantineable" tag on the quarantineable entity (not autoconfigure the entity…)
6+
App\Entity\Customer\Customer:
7+
tags: ['monsieurbiz_anti_spam.quarantineable']
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
monsieurbiz_sylius_anti_spam_admin:
2+
resource: "@MonsieurBizSyliusAntiSpamPlugin/Resources/config/routes/admin.yaml"
3+
prefix: /%sylius_admin.path_name%
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"bundles": {
3+
"MonsieurBiz\\SyliusAntiSpamPlugin\\MonsieurBizSyliusAntiSpamPlugin": [
4+
"all"
5+
]
6+
},
7+
"copy-from-recipe": {
8+
"config/": "%CONFIG_DIR%/"
9+
},
10+
"env": {
11+
"RECAPTCHA3_SCORE_THRESHOLD": 0.5,
12+
"RECAPTCHA3_ENABLED": "false",
13+
"ALTCHA_ENABLED": "true"
14+
}
15+
}

0 commit comments

Comments
 (0)