mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 10:56:52 +08:00
Fix the email validation problem for a.b@c.club. (#94)
Co-authored-by: yyzhang <yuanyuan.zhang@haochezhu.club>
This commit is contained in:
@@ -13,7 +13,7 @@ import Button from '@/app/components/base/button'
|
||||
import { login, oauth } from '@/service/common'
|
||||
import { apiPrefix } from '@/config'
|
||||
|
||||
const validEmailReg = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+/
|
||||
const validEmailReg = /^[\w\.-]+@([\w-]+\.)+[\w-]{2,4}$/
|
||||
|
||||
type IState = {
|
||||
formValid: boolean
|
||||
|
||||
Reference in New Issue
Block a user