Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Random Email #97

Merged
merged 5 commits into from
Nov 21, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update inbound_modal.html
  • Loading branch information
hossinasaadi authored Nov 21, 2022
commit c501094778f67741ad807eafb8f8637e91ced308
6 changes: 3 additions & 3 deletions web/html/xui/inbound_modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,17 +163,17 @@
return email + (this.isClientEnable(email) == true ? ' Active' : ' Deactive')
},

getNewEmail(text) {
getNewEmail(vmess) {
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)];
}
text.email = string + "@gmail.com"
vmess.email = string + "@gmail.com"
}
},
});

</script>
{{end}}
{{end}}