Update index.html

This commit is contained in:
Daniel LaForce 2024-08-01 20:01:43 -06:00
parent 3b5e83d106
commit 895de5635c
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@
function generateToken(length) {
const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
let result = '';
for (let i = 0; length > i; i++) {
for (let i = 0; i < length; i++) {
result += characters.charAt(Math.floor(Math.random() * characters.length));
}
return result;