fix(auth): Fix auth flow for the client app

This commit is contained in:
Bouncey
2018-10-24 00:24:48 +01:00
committed by mrugesh mohapatra
parent a656cbf98a
commit c08bb95ea8
19 changed files with 348 additions and 212 deletions

View File

@ -47,6 +47,7 @@ export const types = createTypes(
[
'appMount',
'closeDonationModal',
'hardGoTo',
'openDonationModal',
'onlineStatusChange',
'updateComplete',
@ -81,6 +82,11 @@ export const openDonationModal = createAction(types.openDonationModal);
export const onlineStatusChange = createAction(types.onlineStatusChange);
// `hardGoTo` is used to hit the API server directly
// without going through /internal
// used for things like /signin and /signout
export const hardGoTo = createAction(types.hardGoTo);
export const updateComplete = createAction(types.updateComplete);
export const updateFailed = createAction(types.updateFailed);