[feature] multi-user shadowsocks

This commit is contained in:
Alireza Ahmadi
2023-05-02 19:56:41 +02:00
parent 4736786c6f
commit 39c1a4276d
9 changed files with 281 additions and 102 deletions

View File

@@ -28,8 +28,10 @@
</a-form-item>
</td>
</tr>
<tr v-if="inbound.protocol === Protocols.TROJAN">
<td>password</td>
<tr v-if="inbound.protocol === Protocols.TROJAN || inbound.protocol === Protocols.SHADOWSOCKS">
<td>password
<a-icon v-if="inbound.protocol === Protocols.SHADOWSOCKS" @click="client.password = RandomUtil.randomShadowsocksPassword()" type="sync"> </a-icon>
</td>
<td>
<a-form-item>
<a-input v-model.trim="client.password" style="width: 250px"></a-input>