mirror of
https://github.com/spacebarchat/server.git
synced 2026-08-29 07:39:00 +00:00
fix a few issues with emails
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user