@topconsultnpm/sdkui-react-beta 6.13.54 → 6.13.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -325,9 +325,6 @@ const TMLoginForm = (props) => {
|
|
325
325
|
if (loginStep === 2 && authMode === AuthenticationModes.TopMediaWithMFA) {
|
326
326
|
try {
|
327
327
|
await loginForMFAAsync(3);
|
328
|
-
if (loginStep === 2) {
|
329
|
-
setLoginStep(3);
|
330
|
-
}
|
331
328
|
}
|
332
329
|
catch (e) {
|
333
330
|
TMExceptionBoxManager.show({ exception: e });
|
@@ -451,6 +448,9 @@ const TMLoginForm = (props) => {
|
|
451
448
|
if (otp === 2) {
|
452
449
|
TMMessageBoxManager.show({ buttons: [ButtonNames.OK], message: SDK_Globals.tmSession?.SessionDescr?.customData2, title: LOGINLocalizator.ConfigureAuthenticator });
|
453
450
|
}
|
451
|
+
if (otp === 3) {
|
452
|
+
setLoginStep(3);
|
453
|
+
}
|
454
454
|
}
|
455
455
|
catch (e) {
|
456
456
|
TMExceptionBoxManager.show({ exception: e });
|