Showing
1 changed file
with
2 additions
and
0 deletions
@@ -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 |
-
Please register or login to post a comment