Fixes: show error message when put a wrong password

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

View File

@ -147,7 +147,7 @@
<div class="signin" ng-controller="SigninController">
<div data-alert class="alert-box info radius" ng-show="loading">
<i class="size-21 fi-bitcoin-circle icon-rotate spinner"></i>
Looking for peers...
Authenticating and Looking for peers...
</div>
<div ng-show="!loading">
<div class="row">

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);