diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js index a750ce9f..dc631cb2 100644 --- a/web/assets/js/model/xray.js +++ b/web/assets/js/model/xray.js @@ -1497,11 +1497,9 @@ Inbound.Settings = class extends XrayCommonClass { Inbound.VmessSettings = class extends Inbound.Settings { constructor(protocol, - vmesses=[new Inbound.VmessSettings.Vmess()], - disableInsecureEncryption=false) { + vmesses=[new Inbound.VmessSettings.Vmess()]) { super(protocol); this.vmesses = vmesses; - this.disableInsecure = disableInsecureEncryption; } indexOfVmessById(id) { @@ -1526,14 +1524,12 @@ Inbound.VmessSettings = class extends Inbound.Settings { return new Inbound.VmessSettings( Protocols.VMESS, json.clients.map(client => Inbound.VmessSettings.Vmess.fromJson(client)), - ObjectUtil.isEmpty(json.disableInsecureEncryption) ? false : json.disableInsecureEncryption, ); } toJson() { return { clients: Inbound.VmessSettings.toJsonArray(this.vmesses), - disableInsecureEncryption: this.disableInsecure, }; } }; diff --git a/web/html/xui/form/protocol/vmess.html b/web/html/xui/form/protocol/vmess.html index 52c86a66..adbf19de 100644 --- a/web/html/xui/form/protocol/vmess.html +++ b/web/html/xui/form/protocol/vmess.html @@ -110,9 +110,4 @@ - - - - - {{end}} diff --git a/web/translation/translate.en_US.toml b/web/translation/translate.en_US.toml index a5745f89..b940774e 100644 --- a/web/translation/translate.en_US.toml +++ b/web/translation/translate.en_US.toml @@ -127,7 +127,6 @@ "network" = "Network" "destinationPort" = "Destination Port" "targetAddress" = "Target Address" -"disableInsecureEncryption" = "Disable Insecure Encryption" "monitorDesc" = "Leave blank by default" "meansNoLimit" = "Means No Limit" "totalFlow" = "Total Flow" diff --git a/web/translation/translate.fa_IR.toml b/web/translation/translate.fa_IR.toml index 95cbf4d6..78e48c1c 100644 --- a/web/translation/translate.fa_IR.toml +++ b/web/translation/translate.fa_IR.toml @@ -127,7 +127,6 @@ "network" = "شبکه" "destinationPort" = "پورت مقصد" "targetAddress" = "آدرس مقصد" -"disableInsecureEncryption" = "غیرفعال سازی رمزگذاری ناامن" "monitorDesc" = "به طور پیش فرض خالی بگذارید" "meansNoLimit" = "یعنی بدون محدودیت" "totalFlow" = "کل ترافیک" diff --git a/web/translation/translate.ru_RU.toml b/web/translation/translate.ru_RU.toml index deaa5bd9..1aaaf40c 100644 --- a/web/translation/translate.ru_RU.toml +++ b/web/translation/translate.ru_RU.toml @@ -127,7 +127,6 @@ "network" = "Сеть" "destinationPort" = "Порт назначения" "targetAddress" = "Целевой адрес" -"disableInsecureEncryption" = "Отключить небезопасное шифрование" "monitorDesc" = "Оставьте пустым по умолчанию" "meansNoLimit" = "Значит без ограничений" "totalFlow" = "Общий расход" diff --git a/web/translation/translate.zh_Hans.toml b/web/translation/translate.zh_Hans.toml index 07624909..64848945 100644 --- a/web/translation/translate.zh_Hans.toml +++ b/web/translation/translate.zh_Hans.toml @@ -127,7 +127,6 @@ "network" = "网络" "destinationPort" = "目标端口" "targetAddress" = "目标地址" -"disableInsecureEncryption" = "禁用不安全加密" "monitorDesc" = "默认留空即可" "meansNoLimit" = "表示不限制" "totalFlow" = "总流量"