diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js
index 8d4315d4ce..b282074f0a 100644
--- a/web/assets/js/model/outbound.js
+++ b/web/assets/js/model/outbound.js
@@ -1053,7 +1053,6 @@ Outbound.WireguardSettings = class extends CommonClass {
super();
this.mtu = mtu;
this.secretKey = secretKey;
- this.pubKey = secretKey.length>0 ? Wireguard.generateKeypair(secretKey).publicKey : '';
this.address = address instanceof Array ? address.join(',') : address;
this.workers = workers;
this.domainStrategy = domainStrategy;
diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html
index 0718d4edd6..20adb535a9 100644
--- a/web/html/xui/form/outbound.html
+++ b/web/html/xui/form/outbound.html
@@ -72,21 +72,9 @@
-
-
-
-
- {{ i18n "reset" }}
-
- {{ i18n "pages.xray.wireguard.secretKey" }}
-
-
-
+
-
-
-
[[ wds ]]