diff options
Diffstat (limited to 'src/api/routes/auth/verify/index.ts')
-rw-r--r-- | src/api/routes/auth/verify/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |