提交 a1ded5ee 编写于 作者: S Simon 提交者: bao liang

fix #1441 (#1445)

上级 b276ece5
......@@ -315,7 +315,7 @@ public final class Constants {
/**
* user name regex
*/
public static final Pattern REGEX_USER_NAME = Pattern.compile("^[a-zA-Z0-9_-]{3,20}$");
public static final Pattern REGEX_USER_NAME = Pattern.compile("^[a-zA-Z0-9._-]{3,20}$");
/**
* email regex
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册