mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +00:00
backport of commit f144d1be54 (#23604)
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4d2698e531
commit
efc95ff3d7
3
changelog/23565.txt
Normal file
3
changelog/23565.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
```release-note:bug
|
||||
ui: Fix regression that broke the oktaNumberChallenge on the ui.
|
||||
```
|
||||
@@ -269,7 +269,7 @@ export default Component.extend(DEFAULTS, {
|
||||
return;
|
||||
}
|
||||
let response = null;
|
||||
this.args.setOktaNumberChallenge(true);
|
||||
this.setOktaNumberChallenge(true);
|
||||
this.setCancellingAuth(false);
|
||||
// keep polling /auth/okta/verify/:nonce API every 1s until a response is given with the correct number for the Okta Number Challenge
|
||||
while (response === null) {
|
||||
@@ -332,7 +332,7 @@ export default Component.extend(DEFAULTS, {
|
||||
});
|
||||
},
|
||||
returnToLoginFromOktaNumberChallenge() {
|
||||
this.args.setOktaNumberChallenge(false);
|
||||
this.setOktaNumberChallenge(false);
|
||||
this.set('oktaNumberChallengeAnswer', null);
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user