Fix minimum username length

pull/1/head
maru 9 months ago
parent 020c4d05bf
commit ee0326da0e
No known key found for this signature in database
GPG Key ID: 37689350E9CD0F0D

@ -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…
Cancel
Save