Authored by ccbikai

Merge branch 'develop' into release/1.0

... ... @@ -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);
};
... ...