diff --git a/.env-dist b/.env-dist index 5b836a7..683a034 100644 --- a/.env-dist +++ b/.env-dist @@ -2,6 +2,8 @@ YII_DEBUG=true YII_ENV=dev JWT_USER_SECRET= +RECAPTCHA_PUBLIC= +RECAPTCHA_SECRET= # Web VIRTUAL_HOST=account.ely.by,authserver.ely.by diff --git a/api/config/config-prod.php b/api/config/config-prod.php new file mode 100644 index 0000000..d813524 --- /dev/null +++ b/api/config/config-prod.php @@ -0,0 +1,9 @@ + [ + 'reCaptcha' => [ + 'public' => getenv('RECAPTCHA_PUBLIC'), + 'secret' => getenv('RECAPTCHA_SECRET'), + ], + ], +];