This is an automated email from the ASF dual-hosted git repository.
leonbao pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new a1ded5e fix #1441 (#1445)
a1ded5e is described below
commit a1ded5ee041a387d56757fcdd27e39efd3a6000a
Author: Simon <[email protected]>
AuthorDate: Thu Dec 12 14:19:55 2019 +0800
fix #1441 (#1445)
---
.../src/main/java/org/apache/dolphinscheduler/common/Constants.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java
b/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java
index 440446e..791c0bb 100644
---
a/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java
+++
b/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java
@@ -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