Redirect non-emailVerified users to www (#108)

This commit is contained in:
Stuart Taylor
2018-05-30 10:11:14 +01:00
committed by Mrugesh Mohapatra
parent 7c372875bf
commit a4adf7283d
6 changed files with 41 additions and 9 deletions

View File

@@ -37,6 +37,7 @@ const rootEpic = combineEpics(analyticsEpic, ...appEpics, ...challengeEpics);
const epicMiddleware = createEpicMiddleware(rootEpic, {
dependencies: {
window: typeof window !== 'undefined' ? window : {},
location: typeof window !== 'undefined' ? window.location : {},
document: typeof window !== 'undefined' ? document : {},
services: servicesCreator(serviceOptions)
}