diff options
Diffstat (limited to 'web/html/xui/form/protocol/shadowsocks.html')
| -rw-r--r-- | web/html/xui/form/protocol/shadowsocks.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/web/html/xui/form/protocol/shadowsocks.html b/web/html/xui/form/protocol/shadowsocks.html index e4eaf155..e9b01ea5 100644 --- a/web/html/xui/form/protocol/shadowsocks.html +++ b/web/html/xui/form/protocol/shadowsocks.html @@ -11,7 +11,7 @@ </template> </a-tooltip> </span> - <a-icon @click="client.email = RandomUtil.randomText(8)" type="sync"> </a-icon> + <a-icon @click="client.email = RandomUtil.randomLowerAndNum(8)" type="sync"> </a-icon> <a-input v-model.trim="client.email" style="width: 200px;"></a-input> </a-form-item> <a-form-item label="Password"> @@ -28,7 +28,7 @@ <a-icon type="question-circle" theme="filled"></a-icon> </a-tooltip> </span> - <a-icon @click="client.subId = RandomUtil.randomText(16)" type="sync"> </a-icon> + <a-icon @click="client.subId = RandomUtil.randomLowerAndNum(16)" type="sync"> </a-icon> <a-input v-model.trim="client.subId" style="width: 150px;"></a-input> </a-form-item> <a-form-item v-if="client.email && app.tgBotEnable"> @@ -112,6 +112,7 @@ </a-select> </a-form-item> <a-form-item label='{{ i18n "password" }}'> + <a-icon @click="inbound.settings.password = RandomUtil.randomShadowsocksPassword()" type="sync"> </a-icon> <a-input v-model.trim="inbound.settings.password" style="width: 250px;"></a-input> </a-form-item> <a-form-item label='{{ i18n "pages.inbounds.network" }}'> |
