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
Plain Diff
Browse Files
Authored by
ccbikai
2016-06-24 10:12:36 +0800
Commit
37c0253877c05bab5647bc0e2097bccf057f12b1
2 parents
372b1e1c
3df7220a
Merge branch 'develop' into release/1.0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
library/helpers.js
library/helpers.js
View file @
37c0253
...
...
@@ -287,5 +287,9 @@ exports.verifyMobile = (phone) => {
};
exports
.
verifyPassword
=
(
password
)
=>
{
return
password
;
if
(
!
password
)
{
return
false
;
}
return
/^
([
a-zA-Z0-9
\-\+
_!@
\#
$%
\^
&
\*\(\)\:\;\.
=
\[\]\\\'
,
\?]){6,20}
$/
.
test
(
password
);
};
...
...
Please
register
or
login
to post a comment