mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-20 21:23:08 +03:00
fix(token-generator): add the missing character 'N' & 'n' (#221)
Fix #1686
This commit is contained in:
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 ? '.,;:!?./-"\'#{([-|\\@)]=}*+' : '')
|
||||
|
||||
Reference in new issue
Block a user