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>2023-07-27 11:28:12 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-07-27 11:28:46 +0300
commit145ea1e6f17cc766df266ca3eacf8dd688eb1930 (patch)
tree3849ce3c15ba5d418ffda923270f1163f1e02124 /web/html/xui/inbound_modal.html
parent4cfed17650a2aa22346a4aee7aacf3ef6d0c667a (diff)
full multiuser shadowsocks
full multiuser shadowsocks + fix logs after api changes Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html/xui/inbound_modal.html')
-rw-r--r--web/html/xui/inbound_modal.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/web/html/xui/inbound_modal.html b/web/html/xui/inbound_modal.html
index 65988b14..a10692cc 100644
--- a/web/html/xui/inbound_modal.html
+++ b/web/html/xui/inbound_modal.html
@@ -110,6 +110,15 @@
if (this.inModal.inbound.settings.shadowsockses.length ==0){
this.inModal.inbound.settings.shadowsockses = [new Inbound.ShadowsocksSettings.Shadowsocks()];
}
+ if (["aes-128-gcm", "aes-256-gcm", "chacha20-poly1305", "xchacha20-poly1305"].includes(this.inModal.inbound.settings.method)) {
+ this.inModal.inbound.settings.shadowsockses.forEach(client => {
+ client.method = this.inModal.inbound.settings.method;
+ })
+ } else {
+ this.inModal.inbound.settings.shadowsockses.forEach(client => {
+ client.method = "";
+ })
+ }
} else {
if (this.inModal.inbound.settings.shadowsockses.length > 0){
this.inModal.inbound.settings.shadowsockses = [];