change to status after auth
This commit is contained in:
parent
b18a6aa01c
commit
d743c51d86
|
@ -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');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue