mirror of https://github.com/BTCPrivate/copay.git
Fixes: show error message when put a wrong password
This commit is contained in:
parent
c72b1c6e22
commit
7f79f3e511
|
@ -147,7 +147,7 @@
|
||||||
<div class="signin" ng-controller="SigninController">
|
<div class="signin" ng-controller="SigninController">
|
||||||
<div data-alert class="alert-box info radius" ng-show="loading">
|
<div data-alert class="alert-box info radius" ng-show="loading">
|
||||||
<i class="size-21 fi-bitcoin-circle icon-rotate spinner"></i>
|
<i class="size-21 fi-bitcoin-circle icon-rotate spinner"></i>
|
||||||
Looking for peers...
|
Authenticating and Looking for peers...
|
||||||
</div>
|
</div>
|
||||||
<div ng-show="!loading">
|
<div ng-show="!loading">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -31,6 +31,7 @@ angular.module('copay.signin').controller('SigninController',
|
||||||
if (!w) {
|
if (!w) {
|
||||||
$scope.loading = false;
|
$scope.loading = false;
|
||||||
$rootScope.flashMessage = { message: 'Bad password or connection error', type: 'error'};
|
$rootScope.flashMessage = { message: 'Bad password or connection error', type: 'error'};
|
||||||
|
$rootScope.$digest();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
controllerUtils.startNetwork(w);
|
controllerUtils.startNetwork(w);
|
||||||
|
|
Loading…
Reference in New Issue