diff options
author | Tulio Casagrande <tcasagra@thoughtworks.com> | 2017-02-13 15:23:11 -0200 |
---|---|---|
committer | Tulio Casagrande <tcasagra@thoughtworks.com> | 2017-02-13 15:23:11 -0200 |
commit | 7fdf9f62c785835c4ea0863dae36bee9611221a5 (patch) | |
tree | 450662487d2489d78491bc56d04aa65c451ce2e6 /service/pixelated/assets | |
parent | 0edf2078caf98be00bcd48846acec563df630616 (diff) |
[#907] Change login status to return json
with @anikarni
Diffstat (limited to 'service/pixelated/assets')
-rw-r--r-- | service/pixelated/assets/Interstitial.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/assets/Interstitial.js b/service/pixelated/assets/Interstitial.js index cda56a4b..2eaa7a1c 100644 --- a/service/pixelated/assets/Interstitial.js +++ b/service/pixelated/assets/Interstitial.js @@ -44,7 +44,7 @@ $(function () { method: 'GET', url: '/login/status' }).success(function (data) { - if (data === 'completed' || data === 'error') { + if (data.status === 'completed' || data.status === 'error') { window.location="/"; } }); |