Authored by 郭成尧

very-count-0

@@ -175,6 +175,8 @@ const local = { @@ -175,6 +175,8 @@ const local = {
175 }); 175 });
176 }, 176 },
177 login: (req, res, next) => { 177 login: (req, res, next) => {
  178 + _.set(req.session, 'login.errorCount', 0);
  179 +
178 let count = _.get(req.session, 'login.errorCount'); 180 let count = _.get(req.session, 'login.errorCount');
179 181
180 if (count == null) { // eslint-disable-line 182 if (count == null) { // eslint-disable-line