mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
[PM-15167] Fix password generator ascii ambiguous sets (#12143)
Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com>
This commit is contained in:
@@ -13,7 +13,7 @@ export const Ascii = Object.freeze({
|
||||
/** The full set of characters available to the generator */
|
||||
Full: Object.freeze({
|
||||
Uppercase: toCharacterSet("ABCDEFGHIJKLMNOPQRSTUVWXYZ"),
|
||||
Lowercase: toCharacterSet("abcdefghijkmnopqrstuvwxyz"),
|
||||
Lowercase: toCharacterSet("abcdefghijklmnopqrstuvwxyz"),
|
||||
Digit: toCharacterSet("0123456789"),
|
||||
Special: SpecialCharacters,
|
||||
} as CharacterSets),
|
||||
@@ -21,7 +21,7 @@ export const Ascii = Object.freeze({
|
||||
/** All characters available to the generator that are not ambiguous. */
|
||||
Unmistakable: Object.freeze({
|
||||
Uppercase: toCharacterSet("ABCDEFGHJKLMNPQRSTUVWXYZ"),
|
||||
Lowercase: toCharacterSet("abcdefghijklmnopqrstuvwxyz"),
|
||||
Lowercase: toCharacterSet("abcdefghijkmnopqrstuvwxyz"),
|
||||
Digit: toCharacterSet("23456789"),
|
||||
Special: SpecialCharacters,
|
||||
} as CharacterSets),
|
||||
|
||||
Reference in New Issue
Block a user