From 549f230221d7139270efefd76ac81f37e1a747f9 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Fri, 8 Dec 2023 16:46:44 +0100 Subject: optimize security in front codes #1300 --- web/html/xui/inbound_modal.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/html/xui/inbound_modal.html') diff --git a/web/html/xui/inbound_modal.html b/web/html/xui/inbound_modal.html index 99cb05fe..df42225c 100644 --- a/web/html/xui/inbound_modal.html +++ b/web/html/xui/inbound_modal.html @@ -93,7 +93,7 @@ }, methods: { streamNetworkChange() { - if (!inModal.inbound.canSetTls()) { + if (!inModal.inbound.canEnableTls()) { this.inModal.inbound.stream.security = 'none'; } if (!inModal.inbound.canEnableReality()) { -- cgit v1.2.3