Merge pull request #293 from ogumemura/patch-1
Fix username validation regex to correctly recognize hyphen (-)
This commit is contained in:
commit
0680b4ff05
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -34,7 +34,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
usernameRegexp = `^([a-zA-Z0-9_.-@])+$`
|
||||
usernameRegexp = `^([a-zA-Z0-9_.\-@])+$`
|
||||
passwordMinLength = 6
|
||||
certsArchiveFileName = "certs.tar.gz"
|
||||
ccdArchiveFileName = "ccd.tar.gz"
|
||||
|
|
Loading…
Reference in a new issue