mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
325651b581
Also don’t recycle altWhitelabel on logout as the whitelabel stores aren’t dependent on the user.
19 lines
359 B
JavaScript
19 lines
359 B
JavaScript
'use strict';
|
|
|
|
import { alt } from '../alt';
|
|
|
|
|
|
class UserActions {
|
|
constructor() {
|
|
this.generateActions(
|
|
'fetchCurrentUser',
|
|
'successFetchCurrentUser',
|
|
'logoutCurrentUser',
|
|
'successLogoutCurrentUser',
|
|
'errorCurrentUser'
|
|
);
|
|
}
|
|
}
|
|
|
|
export default alt.createActions(UserActions);
|