Fixes: show error message when put a wrong password

This commit is contained in:
Gustavo Cortez 2014-05-08 10:03:32 -03:00
commit 7f79f3e511
2 changed files with 2 additions and 1 deletions

View file

@ -31,6 +31,7 @@ angular.module('copay.signin').controller('SigninController',
if (!w) {
$scope.loading = false;
$rootScope.flashMessage = { message: 'Bad password or connection error', type: 'error'};
$rootScope.$digest();
return;
}
controllerUtils.startNetwork(w);