1 parent 459587b commit 0fb8ef4Copy full SHA for 0fb8ef4
1 file changed
README.md
@@ -44,8 +44,9 @@ Add a config file:
44
```yml
45
altcha:
46
enable: true
47
- hmacSignature: '%env(APP_SECRET)%'
+ hmacSignature: '%env(APP_SECRET)%' # Replaces deprecated hmacKey
48
hmacAlgorithm: 'SHA-256'
49
+ hmacKeySignature: ~ # Optional signature key
50
cost: 5000
51
counter_min: 5000
52
counter_max: 10000
@@ -123,6 +124,11 @@ class ContactType extends AbstractType
123
124
'floating' => true,
125
'hide_logo' => false,
126
'hide_footer' => false,
127
+ // Optional: override global config
128
+ // 'cost' => 5000,
129
+ // 'timeout' => 30.0,
130
+ // 'counter_min' => 5000,
131
+ // 'counter_max' => 10000,
132
])
133
->add('submit', SubmitType::class)
134
;
0 commit comments