From 7cacfc074e0f768ec9663245db3bac6018de1a24 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sat, 13 May 2023 15:42:46 +0330 Subject: remove duplicate random text gen randomText by default length set to 8 --- web/html/xui/inbound_modal.html | 9 --------- 1 file changed, 9 deletions(-) (limited to 'web/html/xui/inbound_modal.html') 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; } }, }); -- cgit v1.2.3