From 7fdf9f62c785835c4ea0863dae36bee9611221a5 Mon Sep 17 00:00:00 2001 From: Tulio Casagrande Date: Mon, 13 Feb 2017 15:23:11 -0200 Subject: [#907] Change login status to return json with @anikarni --- service/pixelated/assets/Interstitial.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service/pixelated/assets') 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="/"; } }); -- cgit v1.2.3