Fixed hcaptcha.secret setting wrong env variable

This commit is contained in:
Jonathan Barrow 2022-10-09 15:28:58 -04:00
parent 15103a62c4
commit 1d3fdd3af7
No known key found for this signature in database
GPG Key ID: E86E9FE9049C741F

View File

@ -280,7 +280,7 @@ function configure() {
} else {
logger.info('hcaptcha.secret not found in config, using environment variable PN_ACT_CONFIG_HCAPTCHA_SECRET');
set(config, 'hcaptcha.secret', emailFromEnvValue);
set(config, 'hcaptcha.secret', captchaSecretEnvValue);
}
}