Skip to content

Commit

Permalink
Merge pull request #297 from ossinkine/lazy-recaptcha
Browse files Browse the repository at this point in the history
Make ReCaptcha service lazy
  • Loading branch information
excelwebzone authored Jan 19, 2023
2 parents 05ee477 + dd70fcd commit e804da1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ services:
ewz_recaptcha.recaptcha:
class: ReCaptcha\ReCaptcha
public: false
lazy: true
arguments:
- '%ewz_recaptcha.private_key%'
- '@ewz_recaptcha.extension.recaptcha.request_method.post'
Expand Down

0 comments on commit e804da1

Please sign in to comment.