Fixing dolphin'd code

merge-requests/208/head
Thomas Lynch 4 years ago
parent 7ff7c90700
commit a47c4e3991
  1. 2
      models/pages/captcha.js

@ -2,7 +2,7 @@
const { Captchas, Ratelimits } = require(__dirname+'/../../db/')
, { secureCookies, rateLimitCost, captchaOptions } = require(__dirname+'/../../configs/main.js')
, generateCaptcha = (captchaOptions.type !== 'google' && captchaOptions !== 'hcaptcha')
, generateCaptcha = (captchaOptions.type !== 'google' && captchaOptions.type !== 'hcaptcha')
? require(__dirname+`/../../helpers/captcha/generators/${captchaOptions.type}.js`)
: null
, production = process.env.NODE_ENV === 'production';

Loading…
Cancel
Save