diff --git a/web/html/xui/client_bulk_modal.html b/web/html/xui/client_bulk_modal.html
index c48fdf94..defef3a0 100644
--- a/web/html/xui/client_bulk_modal.html
+++ b/web/html/xui/client_bulk_modal.html
@@ -60,6 +60,17 @@
+
+ | Flow |
+
+
+
+ {{ i18n "none" }}
+ [[ key ]]
+
+
+ |
+
| Subscription |
@@ -150,6 +161,7 @@
emailPostfix: "",
subId: "",
tgId: "",
+ flow: "",
delayedStart: false,
ok() {
method=clientsBulkModal.emailMethod;
@@ -171,6 +183,9 @@
newClient.tgId = clientsBulkModal.tgId;
newClient._totalGB = clientsBulkModal.totalGB;
newClient._expiryTime = clientsBulkModal.expiryTime;
+ if(clientsBulkModal.inbound.canEnableTlsFlow()){
+ newClient.flow = clientsBulkModal.flow;
+ }
clientsBulkModal.clients.push(newClient);
}
ObjectUtil.execute(clientsBulkModal.confirm, clientsBulkModal.inbound, clientsBulkModal.dbInbound);
@@ -190,6 +205,7 @@
this.emailPostfix= "";
this.subId= "";
this.tgId= "";
+ this.flow= "";
this.dbInbound = new DBInbound(dbInbound);
this.inbound = dbInbound.toInbound();
this.clients = this.getClients(this.inbound.protocol, this.inbound.settings);
|