diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-05-13 15:12:46 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-05-13 15:12:46 +0300 |
| commit | 7cacfc074e0f768ec9663245db3bac6018de1a24 (patch) | |
| tree | 94e064daff4c0142680fb874f2067721b6a0f8f5 /web/html/xui/client_modal.html | |
| parent | 9e8ac8a087adc7a822d29d6b8510b83b85fa698b (diff) | |
remove duplicate random text gen
randomText by default
length set to 8
Diffstat (limited to 'web/html/xui/client_modal.html')
| -rw-r--r-- | web/html/xui/client_modal.html | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/web/html/xui/client_modal.html b/web/html/xui/client_modal.html index f7faf888..25974325 100644 --- a/web/html/xui/client_modal.html +++ b/web/html/xui/client_modal.html @@ -125,15 +125,6 @@ }, }, methods: { - 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; - }, async getDBClientIps(email, event) { const msg = await HttpUtil.post('/panel/inbound/clientIps/' + email); if (!msg.success) { |
