feat: remove 2fa UI in favor of challenges

This commit is contained in:
Mo Bitar
2020-09-22 11:25:30 -05:00
parent 463f0eb286
commit 8cec60f9ff
3 changed files with 14 additions and 67 deletions

View File

@@ -155,10 +155,10 @@ class ChallengeModalCtrl extends PureViewCtrl<{}, ChallengeModalState> {
};
}
/** @template */
cancel() {
if (this.cancelable) {
this.application!.cancelChallenge(this.challenge);
this.dismiss();
}
}