Skip to content
Snippets Groups Projects
Commit f05551d2 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Merge branch 'aripoll-auth-wtf' into 'master'

Aripoll auth wtf

See merge request !238
parents 90baaa8f b365336f
No related branches found
No related tags found
2 merge requests!463MRC mods by Codefenix (2024-10-20),!238Aripoll auth wtf
require('sbbsdefs.js', 'SYS_CLOSED');
function randomString(length) {
var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz'.split("");
var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz'.split('');
var str = '';
for (var i = 0; i < length; i++) {
str += chars[Math.floor(Math.random() * chars.length)];
var rn = Math.floor(Math.random() * chars.length);
if (rn >= chars.length) log(LOG_DEBUG, "Impossible number: " + rn);
str += chars[rn];
}
return str;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment