Rename password_reset config to passwordReset as it messes with config key generation

This commit is contained in:
Madeline
2023-02-25 20:27:55 +11:00
parent 048459b75f
commit deb0da524e
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ router.post(
const config = Config.get();
if (
config.password_reset.requireCaptcha &&
config.passwordReset.requireCaptcha &&
config.security.captcha.enabled
) {
const { sitekey, service } = config.security.captcha;