1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-12-17 15:27:43 +01:00

add I to ambiguous characters

This commit is contained in:
Kyle Spearrin 2019-04-29 13:53:33 -04:00
parent 9650e44078
commit 9468bb322d

View File

@ -15,7 +15,7 @@ namespace Bit.Core.Services
private const string Keys_History = "generatedPasswordHistory";
private const int MaxPasswordsInHistory = 100;
private const string LowercaseCharSet = "abcdefghijkmnopqrstuvwxyz";
private const string UppercaseCharSet = "ABCDEFGHIJKLMNPQRSTUVWXYZ";
private const string UppercaseCharSet = "ABCDEFGHJKLMNPQRSTUVWXYZ";
private const string NumberCharSet = "23456789";
private const string SpecialCharSet = "!@#$%^&*";
@ -127,7 +127,7 @@ namespace Bit.Core.Services
var uppercaseCharSet = UppercaseCharSet;
if(options.Ambiguous.GetValueOrDefault())
{
uppercaseCharSet = string.Concat(uppercaseCharSet, "O");
uppercaseCharSet = string.Concat(uppercaseCharSet, "IO");
}
if(options.Uppercase.GetValueOrDefault())
{