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
path: root/xray
diff options
context:
space:
mode:
Diffstat (limited to 'xray')
-rw-r--r--xray/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xray/api.go b/xray/api.go
index a887d666..277571f4 100644
--- a/xray/api.go
+++ b/xray/api.go
@@ -231,7 +231,7 @@ func (x *XrayAPI) AddUser(Protocol string, inboundTag string, user map[string]an
Email: userEmail,
})
}
- case "hysteria":
+ case "hysteria", "hysteria2":
auth, err := getRequiredUserString(user, "auth")
if err != nil {
return err