- chanage mobile regexp
This commit is contained in:
@@ -78,7 +78,7 @@ var (
|
|||||||
}
|
}
|
||||||
authTypeGuesserMap = map[string]*regexp.Regexp{
|
authTypeGuesserMap = map[string]*regexp.Regexp{
|
||||||
AuthTypeEmail: regexp.MustCompile(`^[A-Za-z0-9_\-\.]+\@[A-Za-z0-9_\-]+(\.[A-Za-z]+){1,5}$`),
|
AuthTypeEmail: regexp.MustCompile(`^[A-Za-z0-9_\-\.]+\@[A-Za-z0-9_\-]+(\.[A-Za-z]+){1,5}$`),
|
||||||
AuthTypeMobile: regexp.MustCompile(`^1[34578]\d{9}$`),
|
AuthTypeMobile: regexp.MustCompile(`^1[345789]\d{9}$`),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user