Commit 3183b5da by 吴迪

【修改】密码长度8-20 位字符,包括数字、大、小写字母、特殊字符中的至少2种

parent 18b1f519
...@@ -82,7 +82,7 @@ public class MemberServiceImpl extends ServiceImpl<MemberDao, MemberEntity> impl ...@@ -82,7 +82,7 @@ public class MemberServiceImpl extends ServiceImpl<MemberDao, MemberEntity> impl
} }
//判断密码合法性 //判断密码合法性
if (!checkPassWord(passWord)) { if (!checkPassWord(passWord)) {
throw new RRException("密码只能是数字加字母,长度5-12位"); throw new RRException("密码长度8-20 位字符,包括数字、大、小写字母、特殊字符中的至少2种");
} }
//判断重复密码 //判断重复密码
if (!passWord.equals(passWord_repeat)) { if (!passWord.equals(passWord_repeat)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment