mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 17:32:30 +00:00
fix a few issues with emails
This commit is contained in:
1 parent
f507e15326
commit
a22cdaaac6
2 files changed
+10
-3
No files matched your search
@@ -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