diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-05-16 23:39:32 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-05-16 23:39:32 +0300 |
| commit | 8ceeb454ee15b4186ac99f3c9a108431d57419ff (patch) | |
| tree | 01a193a2fe772cee28de95a673bc9d941e70030a /web/html/xui/form/client.html | |
| parent | f311bf1dbf2197a55a8934c106343fe850a9d254 (diff) | |
random - trojan password
Diffstat (limited to 'web/html/xui/form/client.html')
| -rw-r--r-- | web/html/xui/form/client.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html index c552bf48..625ff0ca 100644 --- a/web/html/xui/form/client.html +++ b/web/html/xui/form/client.html @@ -22,8 +22,8 @@ <a-input v-model.trim="client.email" style="width: 200px;"></a-input> </a-form-item> <a-form-item label="Password" v-if="inbound.protocol === Protocols.TROJAN || inbound.protocol === Protocols.SHADOWSOCKS"> - <a-icon v-if="inbound.protocol === Protocols.SHADOWSOCKS" - @click="client.password = RandomUtil.randomShadowsocksPassword()" type="sync"> </a-icon> + <a-icon v-if="inbound.protocol === Protocols.SHADOWSOCKS" @click="client.password = RandomUtil.randomShadowsocksPassword()" type="sync"> </a-icon> + <a-icon v-if="inbound.protocol === Protocols.TROJAN" @click="client.password = RandomUtil.randomSeq(10)" type="sync"> </a-icon> <a-input v-model.trim="client.password" style="width: 300px;"></a-input> </a-form-item> <br> |
