Authored by htoooth

fix capthca

... ... @@ -6,7 +6,7 @@
const _ = require('lodash');
const CAPTCHA = require('../data/captcha.json');
const length = CAPTCHA.length || -1;
const length = CAPTCHA.length - 1 || -1;
exports.gen = () => {
if (length !== -1) {
... ...