Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-11-13 13:47:09 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-11-13 13:53:53 +0300
commit7ad4a3dffc3905d61ccc9a3c0fef6eb196fe0625 (patch)
tree3334ae4370a1c3f8efbe074fc10a7a86a266dec9 /xray/api.go
parentc0ef53e5423ffdfbd051fe06b39ed03ad2c74f1c (diff)
Xray-core v24.11.11
Diffstat (limited to 'xray/api.go')
-rw-r--r--xray/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xray/api.go b/xray/api.go
index d0de76e8..727ab526 100644
--- a/xray/api.go
+++ b/xray/api.go
@@ -129,7 +129,7 @@ func (x *XrayAPI) AddUser(Protocol string, inboundTag string, user map[string]in
CipherType: ssCipherType,
})
} else {
- account = serial.ToTypedMessage(&shadowsocks_2022.User{
+ account = serial.ToTypedMessage(&shadowsocks_2022.ServerConfig{
Key: user["password"].(string),
Email: user["email"].(string),
})