Fix minimum username length

This commit is contained in:
maru committed 2023-12-28 21:20:46 -05:00
1 parent 020c4d05bf
commit ee0326da0e
1 file changed
+1 -1
+1 -1
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