Browse Source

[Fix][UI Next][V1.0.0-Alpha] Fix the issue that user email doesn‘t pass verification (#8733)

3.0.0/version-upgrade
jon-qj 3 years ago committed by GitHub
parent
commit
c51f2e4a7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-ui-next/src/utils/regex.ts

2
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}$/
}

Loading…
Cancel
Save