Add capital letter "I" to ambiguous characters (#39)

See https://community.bitwarden.com/t/add-capital-letter-i-to-ambiguous-characters/5810
This commit is contained in:
setyb 2019-04-29 10:52:33 -07:00 committed by Kyle Spearrin
parent 4d57221daa
commit c300b6102f
1 changed files with 2 additions and 2 deletions

View File

@ -110,9 +110,9 @@ export class PasswordGenerationService implements PasswordGenerationServiceAbstr
allCharSet += lowercaseCharSet;
}
let uppercaseCharSet = 'ABCDEFGHIJKLMNPQRSTUVWXYZ';
let uppercaseCharSet = 'ABCDEFGHJKLMNPQRSTUVWXYZ';
if (o.ambiguous) {
uppercaseCharSet += 'O';
uppercaseCharSet += 'IO';
}
if (o.uppercase) {
allCharSet += uppercaseCharSet;