From 31c2f98afc7550cc9eda53264e8aeee4dd94fcc9 Mon Sep 17 00:00:00 2001 From: Ray Schamp Date: Wed, 11 May 2016 19:53:59 -0400 Subject: [PATCH] Fix banned user redirect --- src/redux/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));