From deb0da524e9eacf4e90bbc6f1d3101d7f35c4e61 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Sat, 25 Feb 2023 20:27:55 +1100 Subject: Rename password_reset config to passwordReset as it messes with config key generation --- src/api/routes/auth/forgot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api') diff --git a/src/api/routes/auth/forgot.ts b/src/api/routes/auth/forgot.ts index faa43dbb..04df97d7 100644 --- a/src/api/routes/auth/forgot.ts +++ b/src/api/routes/auth/forgot.ts @@ -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; -- cgit 1.5.1