@frontegg/redux-store 5.18.3 → 5.19.0
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.
- package/auth/index.js +2 -0
- package/node/auth/index.js +2 -0
- package/package.json +1 -1
package/auth/index.js
CHANGED
|
@@ -2123,8 +2123,10 @@ function* activateAccount(_a) {
|
|
|
2123
2123
|
return;
|
|
2124
2124
|
}
|
|
2125
2125
|
if (isMfaRequired(data)) {
|
|
2126
|
+
yield put(actions.setActivateState({ step: ActivateAccountStep.success }));
|
|
2126
2127
|
const mfaRequiredState = yield getMfaRequiredState(data);
|
|
2127
2128
|
yield put(actions.setState(mfaRequiredState));
|
|
2129
|
+
yield delay$1(1000);
|
|
2128
2130
|
onRedirectTo(routes.loginUrl, { preserveQueryParams: true });
|
|
2129
2131
|
}
|
|
2130
2132
|
else {
|
package/node/auth/index.js
CHANGED
|
@@ -2125,8 +2125,10 @@ function* activateAccount(_a) {
|
|
|
2125
2125
|
return;
|
|
2126
2126
|
}
|
|
2127
2127
|
if (isMfaRequired(data)) {
|
|
2128
|
+
yield effects.put(actions.setActivateState({ step: exports.ActivateAccountStep.success }));
|
|
2128
2129
|
const mfaRequiredState = yield getMfaRequiredState(data);
|
|
2129
2130
|
yield effects.put(actions.setState(mfaRequiredState));
|
|
2131
|
+
yield effects.delay(1000);
|
|
2130
2132
|
onRedirectTo(routes.loginUrl, { preserveQueryParams: true });
|
|
2131
2133
|
}
|
|
2132
2134
|
else {
|