fix(token-generator): add the missing character 'N' & 'n' (#221)

Fix #1686
This commit is contained in:
GabrielxD authored and ShareVB committed 2025-12-07 22:25:09 +01:00
1 parent 8fad71868a
commit ac08813407
1 file changed
+2 -2
@@ -20,8 +20,8 @@ export function createToken({
alphabet?: string
}) {
const allAlphabet = (alphabet ?? (
(withUppercase ? 'ABCDEFGHIJKLMOPQRSTUVWXYZ' : '')
+ (withLowercase ? 'abcdefghijklmopqrstuvwxyz' : '')
(withUppercase ? 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' : '')
+ (withLowercase ? 'abcdefghijklmnopqrstuvwxyz' : '')
+ (withNumbers ? '0123456789' : '')
+ (withHexaNumbers ? '0123456789abcdef' : '')
+ (withSymbols ? '.,;:!?./-"\'#{([-|\\@)]=}*+' : '')