diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-02-24 23:48:57 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-24 23:48:57 +1100 |
commit | 515a1a5efd164d03cc1b7fa2406d451c7e4bcb41 (patch) | |
tree | c22b502b5e6f79d152af4551ddb6b8a4abe0a24b /src/api | |
parent | Merge pull request #984 from fosscord/dependabot/npm_and_yarn/http-cache-sema... (diff) | |
parent | fix a few issues with emails (diff) | |
download | server-515a1a5efd164d03cc1b7fa2406d451c7e4bcb41.tar.xz |
Merge pull request #985 from Puyodead1/fix/email
fix a few issues with emails
Diffstat (limited to 'src/api')
-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) { |