Fix minimum username length

pull/1/head
maru 2023-12-28 21:20:46 -05:00
parent 020c4d05bf
commit ee0326da0e
No known key found for this signature in database
GPG Key ID: 37689350E9CD0F0D
1 changed files with 1 additions and 1 deletions

View File

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