mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-05 05:47:10 -04:00
Update token-generator.service.ts
This commit is contained in:
parent
cc136cf012
commit
2131a62456
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ export function createToken({
|
||||||
withLowercase ? 'abcdefghijklmopqrstuvwxyz' : '',
|
withLowercase ? 'abcdefghijklmopqrstuvwxyz' : '',
|
||||||
withNumbers ? '0123456789' : '',
|
withNumbers ? '0123456789' : '',
|
||||||
withSymbols ? '.,;:!?./-"\'#{([-|\\@)]=}*+' : '',
|
withSymbols ? '.,;:!?./-"\'#{([-|\\@)]=}*+' : '',
|
||||||
].join(''); ;
|
].join('');
|
||||||
|
|
||||||
return shuffleString(allAlphabet.repeat(length)).substring(0, length);
|
return shuffleString(allAlphabet.repeat(length)).substring(0, length);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue