diff --git a/src/redux/actions.js b/src/redux/actions.js index c82973ef0..28b5c0fcf 100644 --- a/src/redux/actions.js +++ b/src/redux/actions.js @@ -37,7 +37,7 @@ var Actions = { if (typeof body !== 'undefined') { if (body.banned) { - return window.location = url; + return window.location = body.redirectUrl; } else { dispatch(Actions.getToken()); dispatch(Actions.setSession(body));