This commit is contained in:
世界 2022-11-26 11:21:24 +08:00
parent c58302554c
commit bf20ff84b5
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -54,6 +54,9 @@ func newShadowsocksMulti(ctx context.Context, router adapter.Router, logger log.
udpTimeout,
adapter.NewUpstreamContextHandler(inbound.newConnection, inbound.newPacketConnection, inbound),
)
if err != nil {
return nil, err
}
err = service.UpdateUsersWithPasswords(common.MapIndexed(options.Users, func(index int, user option.ShadowsocksUser) int {
return index
}), common.Map(options.Users, func(user option.ShadowsocksUser) string {