Fix minimum username length
parent
020c4d05bf
commit
ee0326da0e
|
@ -21,7 +21,7 @@ const (
|
|||
argonKeyLength = 32
|
||||
)
|
||||
|
||||
var isValidUsername = regexp.MustCompile(`^\w{6,16}$`).MatchString
|
||||
var isValidUsername = regexp.MustCompile(`^\w{1,16}$`).MatchString
|
||||
|
||||
// /api/account/info - get account info
|
||||
|
||||
|
|
Loading…
Reference in New Issue