From d743c51d86503179535a43310978e9e903f1d96c Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 24 Oct 2018 23:34:12 -0600 Subject: [PATCH] change to status after auth --- lib/admin/js/app.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/admin/js/app.js b/lib/admin/js/app.js index 095c7c2..3dd907d 100644 --- a/lib/admin/js/app.js +++ b/lib/admin/js/app.js @@ -132,8 +132,7 @@ function doConfigure() { appData.init.otp = telebitState._otp; return Telebit.authorize(telebitState, showOtp).then(function () { - console.log('1 api.init...'); - return api.initialize(); + return changeState('status'); }); } @@ -421,8 +420,7 @@ api.config().then(function (config) { setState(); // this will skip ahead as necessary return Telebit.authorize(telebitState, showOtp).then(function () { - console.log('2 api.init...'); - return api.initialize(); + return changeState('status'); }); }