Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郭成尧
2017-03-06 11:02:37 +0800
Commit
2465511c284c36c59c6b5342e0e58137b377cb5f
1 parent
908d59f9
very-count-0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
apps/passport/controllers/login.js
apps/passport/controllers/login.js
View file @
2465511
...
...
@@ -175,6 +175,8 @@ const local = {
});
},
login
:
(
req
,
res
,
next
)
=>
{
_
.
set
(
req
.
session
,
'login.errorCount'
,
0
);
let
count
=
_
.
get
(
req
.
session
,
'login.errorCount'
);
if
(
count
==
null
)
{
// eslint-disable-line
...
...
Please
register
or
login
to post a comment