diff --git a/service/xboard/service.go b/service/xboard/service.go index 22acabf8..815bf134 100644 --- a/service/xboard/service.go +++ b/service/xboard/service.go @@ -630,13 +630,6 @@ func (s *Service) setupNode() error { // SS2022: server_key is used DIRECTLY as PSK (like V2bX core/sing/node.go:251) ssOptions.Password = serverKey - // Create a dummy user (will be replaced by syncUsers) - keyLen := ss2022KeyLength(method) - dummyKey := make([]byte, keyLen) - _, _ = rand.Read(dummyKey) - ssOptions.Users = []option.ShadowsocksUser{{ - Password: base64.StdEncoding.EncodeToString(dummyKey), - }} s.logger.Info("Xboard SS2022 setup. Method: ", method, " ServerKey(PSK): ", serverKey) } else { // Legacy SS: password-based