From 895de5635ca7161e50c0110cc28a86bbcbef29fb Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 1 Aug 2024 20:01:43 -0600 Subject: [PATCH] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 91fc290..c59e35c 100644 --- a/index.html +++ b/index.html @@ -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;