mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2024-12-24 15:09:38 -05: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
@ -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…
Reference in New Issue
Block a user