mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
Hotfix revert on altUser for logging out on whitelabels
This commit is contained in:
parent
dad4ea4e87
commit
57b1ef6b41
@ -1,6 +1,6 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
import { alt, altWhitelabel, altUser, altThirdParty } from '../alt';
|
import { alt, altUser, altThirdParty } from '../alt';
|
||||||
|
|
||||||
import EventActions from '../actions/event_actions';
|
import EventActions from '../actions/event_actions';
|
||||||
|
|
||||||
@ -56,8 +56,8 @@ class UserStore {
|
|||||||
EventActions.userDidLogout();
|
EventActions.userDidLogout();
|
||||||
|
|
||||||
// Reset all stores back to their initial state
|
// Reset all stores back to their initial state
|
||||||
|
// Don't recycle the whitelabel stores since they're not dependent on login
|
||||||
alt.recycle();
|
alt.recycle();
|
||||||
altWhitelabel.recycle();
|
|
||||||
altUser.recycle();
|
altUser.recycle();
|
||||||
altThirdParty.recycle();
|
altThirdParty.recycle();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user