From a22cdaaac62b888997fae37a285c68e056c01e16 Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Fri, 24 Feb 2023 07:45:29 -0500 Subject: fix a few issues with emails --- src/api/routes/auth/verify/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api') diff --git a/src/api/routes/auth/verify/index.ts b/src/api/routes/auth/verify/index.ts index cdbd371a..ac12bbb7 100644 --- a/src/api/routes/auth/verify/index.ts +++ b/src/api/routes/auth/verify/index.ts @@ -45,7 +45,7 @@ router.post( const config = Config.get(); - if (config.register.requireCaptcha) { + if (config.register.requireCaptcha && config.security.captcha.enabled) { const { sitekey, service } = config.security.captcha; if (!captcha_key) { -- cgit 1.4.1