From c51f2e4a7cdfca19cc0477871c9a589b684354f9 Mon Sep 17 00:00:00 2001 From: jon-qj <39773194+jon-qj@users.noreply.github.com> Date: Mon, 7 Mar 2022 16:24:22 +0800 Subject: [PATCH] =?UTF-8?q?[Fix][UI=20Next][V1.0.0-Alpha]=20Fix=20the=20is?= =?UTF-8?q?sue=20that=20user=20email=20doesn=E2=80=98t=20pass=20verificati?= =?UTF-8?q?on=20(#8733)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 aa8715eeb1..0a0de4f069 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}$/ }