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-28 17:57:04 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-07-28 17:57:04 +0300
commiteaec9e54ad120362cd4f8728db10c36c7a25a4d2 (patch)
tree20400f8f5943823650a823dcad3d22183a681063 /web/html/xui
parentfafcb2e8e7d4f343ee1d35cfbf1b01ea611a7bd0 (diff)
random password button for kcp , quic
Diffstat (limited to 'web/html/xui')
-rw-r--r--web/html/xui/form/stream/stream_kcp.html3
-rw-r--r--web/html/xui/form/stream/stream_quic.html3
2 files changed, 4 insertions, 2 deletions
diff --git a/web/html/xui/form/stream/stream_kcp.html b/web/html/xui/form/stream/stream_kcp.html
index 1c7e87bf..0d6df9e3 100644
--- a/web/html/xui/form/stream/stream_kcp.html
+++ b/web/html/xui/form/stream/stream_kcp.html
@@ -12,7 +12,8 @@
</a-form-item>
<br>
<a-form-item label='{{ i18n "password" }}'>
- <a-input v-model="inbound.stream.kcp.seed"></a-input>
+ <a-icon @click="inbound.stream.kcp.seed = RandomUtil.randomSeq(10)" type="sync"> </a-icon>
+ <a-input v-model="inbound.stream.kcp.seed" style="width: 150px;" ></a-input>
</a-form-item>
<br>
<a-form-item label="MTU">
diff --git a/web/html/xui/form/stream/stream_quic.html b/web/html/xui/form/stream/stream_quic.html
index 2dddfd87..53e60b2d 100644
--- a/web/html/xui/form/stream/stream_quic.html
+++ b/web/html/xui/form/stream/stream_quic.html
@@ -8,7 +8,8 @@
</a-select>
</a-form-item>
<a-form-item label='{{ i18n "password" }}'>
- <a-input v-model.trim="inbound.stream.quic.key"></a-input>
+ <a-icon @click="inbound.stream.quic.key = RandomUtil.randomSeq(10)" type="sync"> </a-icon>
+ <a-input v-model.trim="inbound.stream.quic.key" style="width: 150px;"></a-input>
</a-form-item>
<a-form-item label='{{ i18n "camouflage" }}'>
<a-select v-model="inbound.stream.quic.type" style="width: 280px;" :dropdown-class-name="themeSwitcher.darkCardClass">