diff --git a/src/services/passwordGeneration.service.ts b/src/services/passwordGeneration.service.ts index 3e5dcd1895..b5c74822cd 100644 --- a/src/services/passwordGeneration.service.ts +++ b/src/services/passwordGeneration.service.ts @@ -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;