@frontegg/redux-store 6.114.0 → 6.115.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/LoginState/saga.js
CHANGED
|
@@ -420,6 +420,7 @@ function* refreshTokenEmbeddedSocialLogins() {
|
|
|
420
420
|
const shouldNavigateToRegisterQuickLogin = yield shouldNevigateToRegisterQuickLogin(user);
|
|
421
421
|
yield put(actions.setTenantsState({
|
|
422
422
|
tenants,
|
|
423
|
+
activeTenant,
|
|
423
424
|
loading: false
|
|
424
425
|
}));
|
|
425
426
|
yield put(actions.setState({
|
|
@@ -1533,7 +1534,8 @@ function* handleEnrollMFAResponse({
|
|
|
1533
1534
|
}
|
|
1534
1535
|
function* handleVerifyMFAResponse({
|
|
1535
1536
|
user,
|
|
1536
|
-
tenants
|
|
1537
|
+
tenants,
|
|
1538
|
+
activeTenant
|
|
1537
1539
|
}) {
|
|
1538
1540
|
const {
|
|
1539
1541
|
loginState
|
|
@@ -1541,6 +1543,7 @@ function* handleVerifyMFAResponse({
|
|
|
1541
1543
|
yield put(actions.setUser(user));
|
|
1542
1544
|
yield put(actions.setTenantsState({
|
|
1543
1545
|
tenants,
|
|
1546
|
+
activeTenant,
|
|
1544
1547
|
loading: false
|
|
1545
1548
|
}));
|
|
1546
1549
|
if (user.id) {
|
package/index.js
CHANGED
|
@@ -437,6 +437,7 @@ function* refreshTokenEmbeddedSocialLogins() {
|
|
|
437
437
|
const shouldNavigateToRegisterQuickLogin = yield shouldNevigateToRegisterQuickLogin(user);
|
|
438
438
|
yield (0, _effects.put)(_reducer.actions.setTenantsState({
|
|
439
439
|
tenants,
|
|
440
|
+
activeTenant,
|
|
440
441
|
loading: false
|
|
441
442
|
}));
|
|
442
443
|
yield (0, _effects.put)(_reducer.actions.setState({
|
|
@@ -1550,7 +1551,8 @@ function* handleEnrollMFAResponse({
|
|
|
1550
1551
|
}
|
|
1551
1552
|
function* handleVerifyMFAResponse({
|
|
1552
1553
|
user,
|
|
1553
|
-
tenants
|
|
1554
|
+
tenants,
|
|
1555
|
+
activeTenant
|
|
1554
1556
|
}) {
|
|
1555
1557
|
const {
|
|
1556
1558
|
loginState
|
|
@@ -1558,6 +1560,7 @@ function* handleVerifyMFAResponse({
|
|
|
1558
1560
|
yield (0, _effects.put)(_reducer.actions.setUser(user));
|
|
1559
1561
|
yield (0, _effects.put)(_reducer.actions.setTenantsState({
|
|
1560
1562
|
tenants,
|
|
1563
|
+
activeTenant,
|
|
1561
1564
|
loading: false
|
|
1562
1565
|
}));
|
|
1563
1566
|
if (user.id) {
|
package/node/index.js
CHANGED