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
htoooth
2017-03-13 17:57:36 +0800
Commit
4c6d312e9e33adc0139e7151495ce69b0c666d93
1 parent
085fb06b
fix capthca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/passport/models/captcha-api.js
apps/passport/models/captcha-api.js
View file @
4c6d312
...
...
@@ -6,7 +6,7 @@
const
_
=
require
(
'lodash'
);
const
CAPTCHA
=
require
(
'../data/captcha.json'
);
const
length
=
CAPTCHA
.
length
||
-
1
;
const
length
=
CAPTCHA
.
length
-
1
||
-
1
;
exports
.
gen
=
()
=>
{
if
(
length
!==
-
1
)
{
...
...
Please
register
or
login
to post a comment