diff --git a/core/server/utils/index.js b/core/server/utils/index.js index 2e17b60d40..72167f1327 100644 --- a/core/server/utils/index.js +++ b/core/server/utils/index.js @@ -48,7 +48,7 @@ utils = { charlen = chars.length, i; - for (i = 1; i < len; i = i + 1) { + for (i = 0; i < len; i = i + 1) { buf.push(chars[getRandomInt(0, charlen - 1)]); }