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

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);
}
}