Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
周少峰
2017-04-17 18:15:12 +0800
Commit
9745153c227695cb5935fe678ff176da7f681135
1 parent
1179539a
login
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
apps/passport/auth.js
apps/passport/auth.js
View file @
9745153
...
...
@@ -70,6 +70,7 @@ passport.use('local', new LocalStrategy({
<
a
href
=
"${helpers.urlFormat('/passport/back/index')}"
target
=
"_blank"
>
找回登陆密码
<
/a>!
`
});
}
// 再次校验
if
(
errLoginTimes
>=
1
)
{
req
.
session
.
type
=
'needCaptcha'
;
...
...
Please
register
or
login
to post a comment