This is an automated email from the ASF dual-hosted git repository.
songjian pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new c51f2e4 [Fix][UI Next][V1.0.0-Alpha] Fix the issue that user email
doesn‘t pass verification (#8733)
c51f2e4 is described below
commit c51f2e4a7cdfca19cc0477871c9a589b684354f9
Author: jon-qj <[email protected]>
AuthorDate: Mon Mar 7 16:24:22 2022 +0800
[Fix][UI Next][V1.0.0-Alpha] Fix the issue that user email doesn‘t pass
verification (#8733)
---
dolphinscheduler-ui-next/src/utils/regex.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dolphinscheduler-ui-next/src/utils/regex.ts
b/dolphinscheduler-ui-next/src/utils/regex.ts
index aa8715e..0a0de4f 100644
--- a/dolphinscheduler-ui-next/src/utils/regex.ts
+++ b/dolphinscheduler-ui-next/src/utils/regex.ts
@@ -16,7 +16,7 @@
*/
const regex = {
- email: /^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/, //
support Chinese mailbox
+ email: /^[A-Za-z0-9\u4e00-\u9fa5\.]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/, //
support Chinese mailbox
phone: /^1\d{10}$/,
password: /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,20}$/
}