1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-25 09:32:06 +01:00

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

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;