Browse Source

Clean legacy vmess

Co-Authored-By: Alireza Ahmadi <[email protected]>
MHSanaei 1 year ago
parent
commit
731e83a7da

+ 1 - 2
web/assets/js/model/xray.js

@@ -1740,8 +1740,7 @@ 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;

+ 0 - 5
web/html/xui/form/protocol/vmess.html

@@ -108,9 +108,4 @@
         </a-collapse-panel>
     </a-collapse>
 </a-form>
-<a-form layout="inline">
-    <a-form-item label='{{ i18n "pages.inbounds.disableInsecureEncryption" }}'>
-        <a-switch v-model.number="inbound.settings.disableInsecure"></a-switch>
-    </a-form-item>
-</a-form>
 {{end}}

+ 0 - 1
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"

+ 0 - 1
web/translation/translate.fa_IR.toml

@@ -127,7 +127,6 @@
 "network" = "شبکه"
 "destinationPort" = "پورت مقصد"
 "targetAddress" = "آدرس مقصد"
-"disableInsecureEncryption" = "رمزگذاری ناامن را غیرفعال کنید"
 "monitorDesc" = "به طور پیش فرض خالی بگذارید"
 "meansNoLimit" = "یعنی بدون محدودیت"
 "totalFlow" = "کل ترافیک"

+ 0 - 1
web/translation/translate.ru_RU.toml

@@ -127,7 +127,6 @@
 "network" = "Сеть"
 "destinationPort" = "Порт назначения"
 "targetAddress" = "Целевой адрес"
-"disableInsecureEncryption" = "Отключить небезопасное шифрование"
 "monitorDesc" = "Оставьте пустым по умолчанию"
 "meansNoLimit" = "Значит без ограничений"
 "totalFlow" = "Общий расход"

+ 0 - 1
web/translation/translate.vi_VN.toml

@@ -127,7 +127,6 @@
 "network" = "Mạng"
 "destinationPort" = "Cổng đích"
 "targetAddress" = "Địa chỉ mục tiêu"
-"disableInsecureEncryption" = "Vô hiệu hóa mã hóa không an toàn"
 "monitorDesc" = "Mặc định để trống"
 "meansNoLimit" = "Nghĩa là không giới hạn"
 "totalFlow" = "Tổng lưu lượng"

+ 0 - 1
web/translation/translate.zh_Hans.toml

@@ -127,7 +127,6 @@
 "network" = "网络"
 "destinationPort" = "目标端口"
 "targetAddress" = "目标地址"
-"disableInsecureEncryption" = "禁用不安全加密"
 "monitorDesc" = "默认留空即可"
 "meansNoLimit" = "表示不限制"
 "totalFlow" = "总流量"