Fix link account

This commit is contained in:
Gustavo Maximiliano Cortez 2017-02-14 15:04:18 -03:00
commit 4ec340640e
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
4 changed files with 22 additions and 45 deletions

View file

@ -108,7 +108,11 @@ angular.module('copayApp.controllers').controller('glideraController',
$scope.network = glideraService.getNetwork();
$scope.showOauthForm = false;
$scope.account = {};
init();
if (data.stateParams && data.stateParams.code) {
$scope.submitOauthCode(data.stateParams.code);
} else {
init();
}
});
});