mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2025-07-24 07:11:06 -04:00
removed ambiguous characters
such as i, l, 1, o, 0, etc. also reduced the amount of special characters
This commit is contained in:
parent
c14ff30383
commit
d4c4b1adbb
1 changed files with 4 additions and 4 deletions
|
@ -201,10 +201,10 @@
|
|||
return (array[0] % range);
|
||||
};
|
||||
var generatePassword = function(options) {
|
||||
var uppercase = "ABCDEFGHIJKLMNOPQRSTUVWXTZ";
|
||||
var lowercase = "abcdefghiklmnopqrstuvwxyz";
|
||||
var numbers = "0123456789";
|
||||
var special = ".,-/#!$%^&*;:{}=-_`~()]";
|
||||
var uppercase = "ABCDEFGHJKMNPQRSTUVWXYZ";
|
||||
var lowercase = "abcdefghjkmnpqrstuvwxyz";
|
||||
var numbers = "23456789";
|
||||
var special = "!@#$%&*?";
|
||||
var candidates = '';
|
||||
if (options.includeUppercaseChars) {
|
||||
candidates += uppercase;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue