mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-22 22:02:38 +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
|
alphabet?: string
|
||||||
}) {
|
}) {
|
||||||
const allAlphabet = (alphabet ?? (
|
const allAlphabet = (alphabet ?? (
|
||||||
(withUppercase ? 'ABCDEFGHIJKLMOPQRSTUVWXYZ' : '')
|
(withUppercase ? 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' : '')
|
||||||
+ (withLowercase ? 'abcdefghijklmopqrstuvwxyz' : '')
|
+ (withLowercase ? 'abcdefghijklmnopqrstuvwxyz' : '')
|
||||||
+ (withNumbers ? '0123456789' : '')
|
+ (withNumbers ? '0123456789' : '')
|
||||||
+ (withHexaNumbers ? '0123456789abcdef' : '')
|
+ (withHexaNumbers ? '0123456789abcdef' : '')
|
||||||
+ (withSymbols ? '.,;:!?./-"\'#{([-|\\@)]=}*+' : '')
|
+ (withSymbols ? '.,;:!?./-"\'#{([-|\\@)]=}*+' : '')
|
||||||
|
|||||||
Reference in new issue
Block a user