Authored by 毕凯

Update login.js

@@ -325,7 +325,7 @@ const local = { @@ -325,7 +325,7 @@ const local = {
325 captchaShow: true 325 captchaShow: true
326 }; 326 };
327 327
328 - cache.set(`loginErrorIp:${req.yoho.clientIp}`, true, 3600).catch(log.error); 328 + cache.set(`loginErrorIp:${req.yoho.clientIp}`, true, 3600 * 24).catch(log.error);
329 return res.json(obj); 329 return res.json(obj);
330 } 330 }
331 } else { 331 } else {