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-05-13 15:12:46 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-05-13 15:12:46 +0300
commit7cacfc074e0f768ec9663245db3bac6018de1a24 (patch)
tree94e064daff4c0142680fb874f2067721b6a0f8f5 /web/html/xui/inbound_modal.html
parent9e8ac8a087adc7a822d29d6b8510b83b85fa698b (diff)
remove duplicate random text gen
randomText by default length set to 8
Diffstat (limited to 'web/html/xui/inbound_modal.html')
-rw-r--r--web/html/xui/inbound_modal.html9
1 files changed, 0 insertions, 9 deletions
diff --git a/web/html/xui/inbound_modal.html b/web/html/xui/inbound_modal.html
index 8d7adb52..cb98f6a8 100644
--- a/web/html/xui/inbound_modal.html
+++ b/web/html/xui/inbound_modal.html
@@ -117,15 +117,6 @@
}
inModal.inbound.stream.reality.privateKey = msg.obj.privateKey;
inModal.inbound.stream.reality.settings.publicKey = msg.obj.publicKey;
- },
- getNewEmail(client) {
- var chars = 'abcdefghijklmnopqrstuvwxyz1234567890';
- var string = '';
- var len = 6 + Math.floor(Math.random() * 5);
- for (var ii = 0; ii < len; ii++) {
- string += chars[Math.floor(Math.random() * chars.length)];
- }
- client.email = string;
}
},
});