diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-02-24 23:49:07 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-02-24 23:49:07 +1100 |
commit | 048459b75f3ac8c788db3f225ecd8e7f4ff6e080 (patch) | |
tree | 2a0579a0e0775ce9eb6996bd1d868432a123328d /src/api | |
parent | send required_action in gateway for when email verification is required (diff) | |
parent | Merge pull request #985 from Puyodead1/fix/email (diff) | |
download | server-048459b75f3ac8c788db3f225ecd8e7f4ff6e080.tar.xz |
Merge branch 'master' of github.com:fosscord/fosscord-server
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) { |