新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

Commit f8f86205 authored by taifu's avatar taifu

Merge branch 'v2.2.0_alpha_alias' into 'v2.2.0_alpha_qc' (merge request !60)

fix: 别名不能含有逗号
fix: 别名不能含有逗号
parents e08ea207 3edbfc63
......@@ -46,7 +46,7 @@ const (
var (
certManageContractName = syscontract.SystemContract_CERT_MANAGE.String()
certAliasKey = "cert_alias#"
aliasNameRegStr = "^[a-zA-Z0-9][a-zA-Z0-9_.,-]{0,63}$"
aliasNameRegStr = "^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,63}$"
aliasNameReg = regexp.MustCompile(aliasNameRegStr)
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment