1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00: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; allCharSet += lowercaseCharSet;
} }
let uppercaseCharSet = 'ABCDEFGHIJKLMNPQRSTUVWXYZ'; let uppercaseCharSet = 'ABCDEFGHJKLMNPQRSTUVWXYZ';
if (o.ambiguous) { if (o.ambiguous) {
uppercaseCharSet += 'O'; uppercaseCharSet += 'IO';
} }
if (o.uppercase) { if (o.uppercase) {
allCharSet += uppercaseCharSet; allCharSet += uppercaseCharSet;