1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-30 13:03:53 +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; 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;