MAJOR: Updates for Authenticated Web UI and CLI #30

Open
coolaj86 wants to merge 77 commits from next into master
1 changed files with 2 additions and 4 deletions
Showing only changes of commit d743c51d86 - Show all commits

View File

@ -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');
});
}