Skip to content

Commit

Permalink
invert ambiguous character flag (#12004)
Browse files Browse the repository at this point in the history
  • Loading branch information
audreyality authored Nov 14, 2024
1 parent 73632cd commit 48294aa
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 48294aa

Please sign in to comment.