summary refs log tree commit diff
path: root/src/api/routes
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-02-25 20:27:55 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-02-25 20:31:10 +1100
commitdeb0da524e9eacf4e90bbc6f1d3101d7f35c4e61 (patch)
tree72c499e2ca70b1f707f869c7ccf772d5ea3de6d2 /src/api/routes
parentMerge branch 'master' of github.com:fosscord/fosscord-server (diff)
downloadserver-deb0da524e9eacf4e90bbc6f1d3101d7f35c4e61.tar.xz
Rename password_reset config to passwordReset as it messes with config key generation
Diffstat (limited to 'src/api/routes')
-rw-r--r--src/api/routes/auth/forgot.ts2
1 files changed, 1 insertions, 1 deletions
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;