From b09f37144726933d9cd70daf5b26654e8674b53d Mon Sep 17 00:00:00 2001 From: Senis John Date: Fri, 16 Dec 2022 14:43:56 +0800 Subject: [PATCH] fix: typo --- service/controller/userbuilder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/controller/userbuilder.go b/service/controller/userbuilder.go index eb47393..9529941 100644 --- a/service/controller/userbuilder.go +++ b/service/controller/userbuilder.go @@ -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,