mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
Fix banned user redirect
This commit is contained in:
parent
497bb6f357
commit
31c2f98afc
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue