1
0
Fork 0
mirror of synced 2025-01-27 22:00:33 -05:00

Merge pull request #293 from ogumemura/patch-1

Fix username validation regex to correctly recognize hyphen (-)
This commit is contained in:
Dmitry Shurupov 2025-01-10 11:31:42 +07:00 committed by GitHub
commit 0680b4ff05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"