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/inbound_modal.html | |
| parent | 9e8ac8a087adc7a822d29d6b8510b83b85fa698b (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.html | 9 |
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; } }, }); |
