accounts-frontend/src/services/authFlow.js

15 lines
315 B
JavaScript
Raw Normal View History

2016-03-02 02:06:14 +05:30
import AuthFlow from './authFlow/AuthFlow';
import * as actions from 'components/auth/actions';
import {updateUser} from 'components/user/actions';
2016-03-02 02:06:14 +05:30
const availableActions = {
...actions,
updateUser,
redirect(url) {
location.href = url;
}
};
export default new AuthFlow(availableActions);