mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
add I to ambiguous characters
This commit is contained in:
parent
9650e44078
commit
9468bb322d
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ namespace Bit.Core.Services
|
||||||
private const string Keys_History = "generatedPasswordHistory";
|
private const string Keys_History = "generatedPasswordHistory";
|
||||||
private const int MaxPasswordsInHistory = 100;
|
private const int MaxPasswordsInHistory = 100;
|
||||||
private const string LowercaseCharSet = "abcdefghijkmnopqrstuvwxyz";
|
private const string LowercaseCharSet = "abcdefghijkmnopqrstuvwxyz";
|
||||||
private const string UppercaseCharSet = "ABCDEFGHIJKLMNPQRSTUVWXYZ";
|
private const string UppercaseCharSet = "ABCDEFGHJKLMNPQRSTUVWXYZ";
|
||||||
private const string NumberCharSet = "23456789";
|
private const string NumberCharSet = "23456789";
|
||||||
private const string SpecialCharSet = "!@#$%^&*";
|
private const string SpecialCharSet = "!@#$%^&*";
|
||||||
|
|
||||||
|
@ -127,7 +127,7 @@ namespace Bit.Core.Services
|
||||||
var uppercaseCharSet = UppercaseCharSet;
|
var uppercaseCharSet = UppercaseCharSet;
|
||||||
if(options.Ambiguous.GetValueOrDefault())
|
if(options.Ambiguous.GetValueOrDefault())
|
||||||
{
|
{
|
||||||
uppercaseCharSet = string.Concat(uppercaseCharSet, "O");
|
uppercaseCharSet = string.Concat(uppercaseCharSet, "IO");
|
||||||
}
|
}
|
||||||
if(options.Uppercase.GetValueOrDefault())
|
if(options.Uppercase.GetValueOrDefault())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue