@frontegg/redux-store 7.61.0-alpha.0 → 7.62.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.
|
@@ -459,7 +459,7 @@ export default ((store, api, sharedActions) => {
|
|
|
459
459
|
routes
|
|
460
460
|
} = store.auth;
|
|
461
461
|
if (isMfaRequired(user, store.root.appName)) {
|
|
462
|
-
const mfaRequiredState = await actions.getMfaRequiredState(user, DEFAULT_RETRY_CONFIG, true);
|
|
462
|
+
const mfaRequiredState = await actions.getMfaRequiredState(user, DEFAULT_RETRY_CONFIG, true, email);
|
|
463
463
|
actions.setAuthState(mfaRequiredState);
|
|
464
464
|
onRedirectTo(routes.loginUrl, {
|
|
465
465
|
preserveQueryParams: true
|
package/index.js
CHANGED
|
@@ -466,7 +466,7 @@ var _default = (store, api, sharedActions) => {
|
|
|
466
466
|
routes
|
|
467
467
|
} = store.auth;
|
|
468
468
|
if ((0, _helpers3.isMfaRequired)(user, store.root.appName)) {
|
|
469
|
-
const mfaRequiredState = await actions.getMfaRequiredState(user, _constants.DEFAULT_RETRY_CONFIG, true);
|
|
469
|
+
const mfaRequiredState = await actions.getMfaRequiredState(user, _constants.DEFAULT_RETRY_CONFIG, true, email);
|
|
470
470
|
actions.setAuthState(mfaRequiredState);
|
|
471
471
|
onRedirectTo(routes.loginUrl, {
|
|
472
472
|
preserveQueryParams: true
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/redux-store",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.62.0",
|
|
4
4
|
"main": "./node/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Frontegg LTD",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@babel/runtime": "^7.18.6",
|
|
9
9
|
"@frontegg/entitlements-javascript-commons": "1.1.2",
|
|
10
|
-
"@frontegg/rest-api": "7.
|
|
10
|
+
"@frontegg/rest-api": "7.62.0",
|
|
11
11
|
"fast-deep-equal": "3.1.3",
|
|
12
12
|
"get-value": "^3.0.1",
|
|
13
13
|
"proxy-compare": "^3.0.0",
|