Skip to content

Commit

Permalink
Disable by default
Browse files Browse the repository at this point in the history
  • Loading branch information
karniv00l committed Sep 16, 2020
1 parent d04f638 commit 00475ba
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ SECURITY_ADVISORIES_DB_DIR=%kernel.project_dir%/var/security-advisories
###< storage ###

###> excelwebzone/recaptcha-bundle ###
EWZ_RECAPTCHA_SITE_KEY=changeme
EWZ_RECAPTCHA_SECRET=changeme
EWZ_RECAPTCHA_ENABLED=false
EWZ_RECAPTCHA_SITE_KEY=
EWZ_RECAPTCHA_SECRET=
###< excelwebzone/recaptcha-bundle ###
5 changes: 5 additions & 0 deletions .env.docker
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,8 @@ PACKAGES_DIST_DIR=%kernel.project_dir%/var/repo
SECURITY_ADVISORIES_DB_DIR=%kernel.project_dir%/var/security-advisories
###< storage ###

###> excelwebzone/recaptcha-bundle ###
EWZ_RECAPTCHA_ENABLED=false
EWZ_RECAPTCHA_SITE_KEY=
EWZ_RECAPTCHA_SECRET=
###< excelwebzone/recaptcha-bundle ###
4 changes: 4 additions & 0 deletions ansible/roles/app.deploy/templates/.env.local
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,9 @@ TRUSTED_PROXIES={{ lookup('env', 'REPMAN_TRUSTED_PROXIES') or '' }}

GA_TRACKING={{ lookup('env', 'REPMAN_GA_TRACKING') or '' }}

EWZ_RECAPTCHA_ENABLED={{ lookup('env', 'REPMAN_EWZ_RECAPTCHA_ENABLED') or 'false' }}
EWZ_RECAPTCHA_SITE_KEY={{ lookup('env', 'REPMAN_EWZ_RECAPTCHA_SITE_KEY') or '' }}
EWZ_RECAPTCHA_SECRET={{ lookup('env', 'REPMAN_EWZ_RECAPTCHA_SECRET') or '' }}

PROXY_DIST_DIR={{ lookup('env', 'REPMAN_PROXY_DIST_DIR') or '%kernel.project_dir%/var/proxy' }}
PACKAGES_DIST_DIR={{ lookup('env', 'REPMAN_PACKAGES_DIST_DIR') or '%kernel.project_dir%/var/repo' }}
2 changes: 0 additions & 2 deletions config/packages/dev/ewz_recaptcha.yaml

This file was deleted.

1 change: 1 addition & 0 deletions config/packages/ewz_recaptcha.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ewz_recaptcha:
enabled: '%env(bool:EWZ_RECAPTCHA_ENABLED)%'
public_key: '%env(EWZ_RECAPTCHA_SITE_KEY)%'
private_key: '%env(EWZ_RECAPTCHA_SECRET)%'

0 comments on commit 00475ba

Please sign in to comment.