Skip to content

Commit

Permalink
invert ambiguous character flag
Browse files Browse the repository at this point in the history
  • Loading branch information
audreyality committed Nov 14, 2024
1 parent a415679 commit deac8d4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class PasswordSettingsComponent implements OnInit, OnDestroy {
map((settings) => {
// interface is "avoid" while storage is "include"
const s: any = { ...settings };
s.avoidAmbiguous = s.ambiguous;
s.avoidAmbiguous = !s.ambiguous;
delete s.ambiguous;
return s;
}),
Expand Down Expand Up @@ -205,7 +205,7 @@ export class PasswordSettingsComponent implements OnInit, OnDestroy {
map(([, settings]) => {
// interface is "avoid" while storage is "include"
const s: any = { ...settings };
s.ambiguous = s.avoidAmbiguous;
s.ambiguous = !s.avoidAmbiguous;
delete s.avoidAmbiguous;
return s;
}),
Expand Down

0 comments on commit deac8d4

Please sign in to comment.