Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
9 years ago
Commit
d48170de58f645d1139611faadc645af6aaa2077
1 parent
ba721dfe
加强密码
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
public/js/passport/common/pwd-strength.js
public/js/passport/common/pwd-strength.js
View file @
d48170d
...
...
@@ -13,9 +13,9 @@ function computeComplex(password) {
if
(
length
===
0
)
{
lengthS
=
0
;
}
else
if
(
length
<
=
6
&&
length
>
0
)
{
}
else
if
(
length
<
6
&&
length
>
0
)
{
lengthS
=
0
+
isAllNumberOrAlph
(
password
);
}
else
if
(
length
>
6
&&
length
<=
16
)
{
}
else
if
(
length
>
=
6
&&
length
<=
16
)
{
lengthS
=
1
+
isAllNumberOrAlph
(
password
);
}
else
{
lengthS
=
2
+
isAllNumberOrAlph
(
password
);
...
...
Please
register
or
login
to post a comment