mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-04-02 02:57:15 +08:00
Fix minimum username length
This commit is contained in:
parent
020c4d05bf
commit
ee0326da0e
@ -21,7 +21,7 @@ const (
|
|||||||
argonKeyLength = 32
|
argonKeyLength = 32
|
||||||
)
|
)
|
||||||
|
|
||||||
var isValidUsername = regexp.MustCompile(`^\w{6,16}$`).MatchString
|
var isValidUsername = regexp.MustCompile(`^\w{1,16}$`).MatchString
|
||||||
|
|
||||||
// /api/account/info - get account info
|
// /api/account/info - get account info
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user