fix: typo

This commit is contained in:
Senis John 2022-12-16 14:43:56 +08:00
parent fc71d76f4d
commit b09f371447
No known key found for this signature in database
GPG Key ID: 845E9E4727C3E1A4

View File

@ -91,7 +91,7 @@ func (c *Controller) buildSSUser(userInfo *[]api.UserInfo, method string) (users
newError("shadowsocks2022 key's length must be greater than 32").AtError().WriteToLog()
return
}
userKey = userKey[:32]
userKey = user.Passwd[:32]
}
users[i] = &protocol.User{
Level: 0,