Skip to content

Commit

Permalink
test with old logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredperreault-okta committed Oct 28, 2023
1 parent 53ddc9f commit c3a6930
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/idx/remediators/Base/SelectAuthenticator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class SelectAuthenticator<T extends SelectAuthenticatorValues = SelectAut
// const isCurrentAuthenticator = isAuthenticatorCurrent(context?.currentAuthenticator); // false
// const isCurrentAuthenticatorEnrollment = isAuthenticatorCurrent(context?.currentAuthenticatorEnrollment); // true
// return !isCurrentAuthenticator && !isCurrentAuthenticatorEnrollment; // false

return true;
}

Expand Down Expand Up @@ -112,8 +112,8 @@ export class SelectAuthenticator<T extends SelectAuthenticatorValues = SelectAut
.filter(authenticator => {
return compareAuthenticators(authenticator, this.selectedAuthenticator) !== true;
});
return { ...this.values, authenticators, authenticator: undefined };
// return { ...this.values, authenticators };
// return { ...this.values, authenticators, authenticator: undefined };
return { ...this.values, authenticators };
}

}

0 comments on commit c3a6930

Please sign in to comment.